printing via vba

  • Thread starter Thread starter neowok
  • Start date Start date
N

neowok

I have this which is in a bit of code activated by a button.

Charts("Overall Days By Period").PrintOut

but this just prints straight out to whatever printer is currentl
selected. Is there a way to change this so that it brings up th
dialog box which asks things like which printer, how many copies etc
 
hi,
Application.ActivePrinter = "\\OKI-01\OKI-HP4000-01 on
Ne01:"
Application.activePrinter would be the command.
the the server file path to the printer.
the above is from my network. you will have to find out
what your's is.
Regards
Frank
 

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