I have a form I want to print..
Now how can I print it like
"LandScape"?
Thanks!
Printable View
I have a form I want to print..
Now how can I print it like
"LandScape"?
Thanks!
Printer.Orientation = vbPRORLandscape
That doesnt help.. Ive never
printed before with VB.
How do I tell it to print the
form ?
Code:Private Sub Command1_Click()
Printer.Orientation = vbPRORLandscape
' If there are controls on the form that you DON'T want to print
' then do this, and then make it visible after the form is printed.
List1.Visible = False
' Print the current form. If this were being done from a module or
' some other form then you would do Form1.PrintForm instead
Me.PrintForm
List1.Visible = True
End Sub