语法
表达式.InchesToPoints(Inches)
表达式 一个代表 Application 对象的变量。
参数
返回值双精度
示例
本示例将工作表 Sheet1 中的左边距设为 2.5 英寸。
Worksheets.Item("Sheet1").PageSetup.LeftMargin = Application.InchesToPoints(2.5)