PageOrientation
type PageOrientation = xlLandscape | xlPortrait
Description
The page orientation type.
Try It
oWorksheet.SetPageOrientation("xlPortrait");
type PageOrientation = xlLandscape | xlPortrait
The page orientation type.
oWorksheet.SetPageOrientation("xlPortrait");