Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbPRORlandscape

Status
Not open for further replies.

JADAKISS

Programmer
Jun 23, 2001
4
CA
i am trying to print my form in landscape mode

code:
printer.orientation = vbPRORlandscape
printer.enddoc
printform

DOESN'T WORK

code:
printer.orientation = vbPRORlandscape
printform
printer.enddoc

DOESN'T WORK

I NEED HELP PLEASE!?!?!?!
 
AND sorry i forgot to add that when i use the first section of the code IT PRINTS however it is in portrait form
and when i use the second section it gives me a runtime error 486

thanks
 
If in report, try,

Me.Orientation = vbLandscape (Dont remember the correct name but it does autocomplete)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top