ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Font problem (https://www.excelbanter.com/excel-programming/385663-font-problem.html)

rich

Font problem
 
Hi,
My Laptop is connected the company domain, I've written a script that
works fine when connected, but if the network goes down the script
runs extremley slow. When debugging it seems to be slow because of the
following line:

oXLSheet.Range("J" & cStr(intLastRow)).Font.ColorIndex = 1

Does anyone have any idea on why this is? When connected to the domain
does my laptop use fonts from the network rather than my local ones?

Any help would be appreciated

Rich


Dave Peterson

Font problem
 
Just a guess...

I'd guess that it's not the font or color that's really the problem. I'm
guessing that it's inability to get to the printer (printer driver) that's the
problem.

Can you change to a local printer (driver)--even if it doesn't exist to test?

rich wrote:

Hi,
My Laptop is connected the company domain, I've written a script that
works fine when connected, but if the network goes down the script
runs extremley slow. When debugging it seems to be slow because of the
following line:

oXLSheet.Range("J" & cStr(intLastRow)).Font.ColorIndex = 1

Does anyone have any idea on why this is? When connected to the domain
does my laptop use fonts from the network rather than my local ones?

Any help would be appreciated

Rich


--

Dave Peterson

rich

Font problem
 
Thanks for the reply, but unfortunately no printers had been added.


Dave Peterson

Font problem
 
Try adding a local printer and using that.

rich wrote:

Thanks for the reply, but unfortunately no printers had been added.


--

Dave Peterson


All times are GMT +1. The time now is 12:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com