property
property
Orientation: LongWord; Orientation can be one of these XlPageOrientation constants: xlPortrait, xlLandscape
Orientation can be one of these XlPageOrientation constants: xlPortrait, xlLandscape
This example sets the first sheet to be printed in landscape orientation
This example sets the first sheet to be printed in landscape orientation
Workbook.Worksheets[1].PageSetup.Orientation := xlLandscape;