I am trying to set the orientation of a form using VBA.
The information as to which orientation is contained in a table, which is filtered to choose the correct report. See my previous post:
Formating Text box in Report from a Form
I have found on MSDN that you can set the Printer Object for Portrait or Landscape, but Orientation for a Report or Form referes to Right to Left and Left To Right, for Arabic for instance I guess.
So how in VBA do you set the Page Orientation?
I am thinking that perhaps this choice would hav to be done Before opening the report!
Can someone confirm that this is the only option?
The information as to which orientation is contained in a table, which is filtered to choose the correct report. See my previous post:
Formating Text box in Report from a Form
I have found on MSDN that you can set the Printer Object for Portrait or Landscape, but Orientation for a Report or Form referes to Right to Left and Left To Right, for Arabic for instance I guess.
So how in VBA do you set the Page Orientation?
I am thinking that perhaps this choice would hav to be done Before opening the report!
Can someone confirm that this is the only option?