Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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.

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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.

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Setup Macro runs slow William G Excel Discussion (Misc queries) 3 March 31st 09 07:31 PM
Excel macro in 2007 runs extremely slow Acie Excel Discussion (Misc queries) 3 March 3rd 09 04:22 PM
Office 2000 Excel Macro runs very slow in 2003, why? The_Other_Mike Excel Discussion (Misc queries) 1 May 10th 06 04:36 PM
macro slow after printing johncassell[_38_] Excel Programming 2 February 17th 06 03:45 PM
Macro runs slow Sandy Excel Programming 10 September 20th 05 04:26 PM


All times are GMT +1. The time now is 05:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"