InchesToPoints Method

Microsoft Excel Visual Basic

Show All

InchesToPoints Method

       

Converts a measurement from inches to points.

expression.InchesToPoints(Inches)

expression   Required. An expression that returns an Application object.

Inches   Required Double. Specifies the inch value to be converted to points.

Example

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

Worksheets("Sheet1").PageSetup.LeftMargin = _
        Application.InchesToPoints(2.5)