Printer Dialogue

S

steveh

Is it possible to get a value from the printer dialogue box? What I am trying
to do is to get the user to select the printer that they want from the
dialogue box which is displayed using
Application.Dialogs(xlDialogPrinterSetup).Show. I would like this printer
then to be shown on an excel sheet. Is this possible?
 
T

Tom Ogilvy

if Application.Dialogs(xlDialogPrinterSetup).Show <> False then
Cells(1,1).Value = Application.ActivePrinter

End if
 

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