printing

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

Guest

is there a way to print worksheets in a workbook to different printers and retain the setting?
 
Hi Moe

With VBA you can change the activeprinter and print the sheet.
And set it back to your default

You can change the activeprinter to the printer you want like this
Application.ActivePrinter = "hp officejet k series on Ne00:"

To know the names of your pinters
Change to it in the ctrl P dialog (Cancel after you choose the printer )
and run this so you know the name

Sub nameprinter()
MsgBox Application.ActivePrinter
End Sub

If you print with code then look at Printout in the VBA help
You can fill in the name of the printer then
 
Back
Top