全部显示
将度量单位从英寸转换为磅。
expression.InchesToPoints(Inches)
expression 必需。该表达式返回一个 Application 对象。
Inches Double 类型,必需。指定要转换成磅值的英寸值。
本示例将 Sheet1 中的左边距设为 2.5 英寸。
Worksheets("Sheet1").PageSetup.LeftMargin = _ Application.InchesToPoints(2.5)