语法
表达式.Orientation
表达式 一个代表 PageSetup 对象的变量。
示例
本示例将 Sheet1 设置为横向打印。
Worksheets.Item("Sheet1").PageSetup.Orientation = xlLandscape