Application.InchesToPoints Method (Excel)

Converts a measurement from inches to points.

expression .InchesToPoints(Inches)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Inches

Required

Double

Specifies the inch value to be converted to points.

Return Value

Double

This example sets the left margin of Sheet1 to 2.5 inches.

Worksheets("Sheet1").PageSetup.LeftMargin = _ 
 Application.InchesToPoints(2.5)
Show:
© 2014 Microsoft