I would like to know if it is possible to change the page orientation from Portrait to Landscape in PI ProcessBook in VBA?
You can use download PageSet.exe from Microsoft and use the contained library to do this. The code requires just very small adjustment. Please replace
DataReport1.PrintReport False, rptRangeFromTo, 1, 1
Edit: For sure you can set orientation as you like using either ChngOrientationLandscape or ChngOrientationPortrait
Retrieving data ...