Expand Minimize
This topic has not yet been rated - Rate this topic

Application.InchesToPoints Method (Excel)

Published: July 16, 2012

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)
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.