Landscape to Portrait?
Posted on 2003-03-19
Prtdevmode explains how to change the paper orientation, but using this code is complicated as the form has to be opened in design mode, the changes made, returned to normal view and several options reset.
Since its possible to manually select File/Page SetUp/Page and select portrait or landscape and update the page orientation without appearing to change the form to design view and returning the form the normal view I'm wondering how do do the same thing in VBA code, maybe the RunCommand could be used to do the same thing? If so, what code would be needed or how I might find it?