Hi,
I have an Excel workbook with VBA modules. At some point it programmatically sets pages' headers with a command like
Worksheets("My Page").PageSetup.CenterHeader = (expression based on various values)
The app runs on several computers, and while on some of them it works normally, on few others this particular operation works terribly slow (moreso that the program has to setup the whole batch of pages). I came to conclusion that it lags on those comps that have a network printer attached and runs well on those where the printer is local. Is it possible to somehow bypass Excel calling for a printer and just do the replacement?
Thanks.
I have an Excel workbook with VBA modules. At some point it programmatically sets pages' headers with a command like
Worksheets("My Page").PageSetup.CenterHeader = (expression based on various values)
The app runs on several computers, and while on some of them it works normally, on few others this particular operation works terribly slow (moreso that the program has to setup the whole batch of pages). I came to conclusion that it lags on those comps that have a network printer attached and runs well on those where the printer is local. Is it possible to somehow bypass Excel calling for a printer and just do the replacement?
Thanks.