Run Time Error 5216 when using macro in Office 2010

Have migrated some macros after upgrading to Office 2010. The macro function is for identifying the active prnter (and if necessary changing it) before choosing the correct paper tray for printing. These worked fine previously but on some workstations I am seeing the above error.

Question Info

Last updated October 18, 2018 Views 5,506 Applies to:
The macro error indicates a printer error. Presumably when you select ActivePrinter = "printername", the 'printername' you are selecting there does not exist. Check what you have is exactly what you see in the print dialog if you print manually from the workstation(s) when the problem arises. See and
Graham Mayor (Microsoft Word MVP)
For more Word tips and downloads visit my web site

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.