For Each prnX in Printers
If prnX.DeviceName = "WHATEVER" Then
Set Printer = prnX
Exit For
End If
Next prnX
Andy
"Logic is invincible because in order to combat logic it is necessary to use logic." -- Pierre Boutroux
"A computer program does what you tell it to do, not what you want it to do." -- Greer's Third Law
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.