Printing Userforms [Landscape]

L

leerem

Can anyone assist

I have many userforms which at regular intervals will need to be printed,
some are to be printed in Portrait others in Landscape.

It prints find in Portrait, but how can I change the settings so that it
prints in Landscape, I tried the following to no avail by showing the Dialog
Printer SetUp and manually changing the setting to Landscape but this still
doesn't work.

any ideas?

Sub Print_UserForm

Dim Response as boolean

With ufStock_Sheet
Response = Application.Dialogs(xlDialogPrinterSetup).Show
If reply = False Then Exit Sub
.printform
End With
End sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top