Application.InchesToPoints Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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:
© 2016 Microsoft