I recorded this part to see if I could figure out a way to set this up.
Question: Is the Ne## a constant number? Is it only constant on my pc, would be a different number on another's pc?
I would like to have the printers auto-selected based on the name of the sheet. As you can see, the printers on the network are named "oki
STORENUMBER which would be the name of each sheet.
Code:
Sub network_print()
'
' network_print Macro
' Macro recorded 4/20/2009 by Carole James
'
Sheets("9603").Select
Application.ActivePrinter = "\\winprint\oki9603 on Ne09:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\winprint\oki9603 on Ne09:", Collate:=True
Sheets("9604").Select
Application.ActivePrinter = "\\winprint\oki9604 on Ne10:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"\\winprint\oki9604 on Ne10:", Collate:=True
End Sub
I could copy/paste each section then manually change the sheet & printer name(s).....
If I do that, could I assume each printers Ne## would be consecutive?
Thanks for the help.