I am trying to set the Orientation and Margins in Excel using com-handles.
chWorksheetageSetup:Orientation = 2. (I have tried many variations too) and I keep getting the same error: Unable to set the Orientation property of the PageSetup class.
I saw when doing research some people mentioned having a default printer (which is setup).
Can someone please help me with this error?
Thanks in Advance.
chWorksheetageSetup:Orientation = 2. (I have tried many variations too) and I keep getting the same error: Unable to set the Orientation property of the PageSetup class.
I saw when doing research some people mentioned having a default printer (which is setup).
Can someone please help me with this error?
Thanks in Advance.