How do I initiate the windows printer select object in Excel macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form that was created in Excel that as a control number on it. I
have placed a button on the worksheet which asks how many copies. It
increments the control number by one, prints and then repeats until all have
been printed. The printout method simply uses the default or selected
printed. I need to know how to bring up the standad windows printer
selection object so I can select the printer (the same object that comes up
when you press ctrl-P.
 
Mick,

Use

application.Dialogs(xlDialogPrint).Show ,,,myNumCopies

and substitute myNumCopies with your variable
 

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

Back
Top