Print macro to bring up print options

N

Nelly

Hi probably a stupid question but did know how to do this. What macro do I
need to bring up the printer dialog box? I have one that just prints but
need to change paper type.

Thanks in advance
Nelly
 
F

FSt1

hi
there are a number of printer dialog boxes but the code to call any dialog
is the same'
Application.Dialogs(xlDialogPageSetup).Show
the above lets you change paper size. i think. if not then curse my foul
memory and try one of these......
xldialogprintersetup
xldialogprintpreview
xldialogPrint
i think that's it.

Regards
FSt1
 
D

Don

Hi probably a stupid question but did know how to do this. What macro do I
need to bring up the printer dialog box? I have one that just prints but
need to change paper type.

Thanks in advance
Nelly

Application.Dialogs(xlDialogPrint).Show
 

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