EXCEL 怎么横向打印?

Set C = CreateObject("Excel.Application") Set D = C.Workbooks.Open("C:\Users\Admin\Desktop\test.xlsx") Set E = D.Worksheets(1) E.PageSetup.Orientation=xlLandscape '横向打印 E.Printout D.Close True Set C = Nothing
横向打印这句代码怎是出错,怎么改?需要横向打印。
去掉横向打印代码,就可以正常打印。