ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   After printing, macro runs slow??? (https://www.excelbanter.com/excel-programming/357949-after-printing-macro-runs-slow.html)

Infinity[_11_]

After printing, macro runs slow???
 

Ok, i have to admit my file is a little big, around 20MB+.:(

So after printing the worksheet, I ran a macro to hide certain columns
and rows but the macro it is running like a SNAIL.:confused:

Anyway around this problem?

Thanks in advance....:)


--
Infinity
------------------------------------------------------------------------
Infinity's Profile: http://www.excelforum.com/member.php...o&userid=32725
View this thread: http://www.excelforum.com/showthread...hreadid=529516


Tom Ogilvy

After printing, macro runs slow???
 
Put this at the top of your macro or immediately after the print command.

ActiveSheet.DisplayAutomaticPageBreaks = False

--
Regards,
Tom Ogilvy



"Infinity" wrote:


Ok, i have to admit my file is a little big, around 20MB+.:(

So after printing the worksheet, I ran a macro to hide certain columns
and rows but the macro it is running like a SNAIL.:confused:

Anyway around this problem?

Thanks in advance....:)


--
Infinity
------------------------------------------------------------------------
Infinity's Profile: http://www.excelforum.com/member.php...o&userid=32725
View this thread: http://www.excelforum.com/showthread...hreadid=529516



Infinity[_13_]

After printing, macro runs slow???
 

:) Thanks Tom.

Will try it out...:)


--
Infinity
------------------------------------------------------------------------
Infinity's Profile: http://www.excelforum.com/member.php...o&userid=32725
View this thread: http://www.excelforum.com/showthread...hreadid=529516



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

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