Setting Printing Orientation - Portrait vs. Landscape thru code.

arvindn

Registered User.
Local time
Today, 11:05
Joined
Oct 1, 2003
Messages
99
How can i set a particular form's printing orientation to landscape / portrait if needed thru VBA code ?

The scenario is like this.

My client often selects the columns to print from a datasheet using Unhide Columns... and i can calculate the total columnwidth of the visible columns. Based on that i wish to automatically set up the orientation so that it is painlessly done.

Thank u.
 

Users who are viewing this thread

Back
Top Bottom