Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Slow in program after running few times

Yes I did.

Thanks Norman!

Those Gridlines don't seem to bother anything <vbg.



Norman Jones wrote:

Hi Dave,

ActiveWindow.DisplayGridlines = False


Did you intend:

ActiveSheet.DisplayPageBreaks = False.

?

---
Regards,
Norman

"Dave Peterson" wrote in message
...
If you're code deletes/inserts rows or columns, maybe adding something
like this
to the top will speed it up.

ActiveWindow.DisplayGridlines = False

If you leave those little dashed lines in the display, then excel figures
it has
to determine where they go each time you insert/delete rows. And if
you're
doing a lot of that kind of stuff, it can slow things down a lot.



tang lk wrote:

I write a simple VBA program to extract certain info from different files
(same format).

After running for few times, the program become very slow and need to
close
and reopen the excel file again in order to make the VBA program faster.

Any idea why it happen ?

regards


--

Dave Peterson


--

Dave Peterson
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
Entering data slow program down JMM New Users to Excel 2 April 11th 09 04:44 PM
Excel slow to close file/program Ken Excel Discussion (Misc queries) 2 April 23rd 05 04:18 PM
Running Program on a Mac ibeetb Excel Programming 0 October 16th 03 01:47 PM
slow program in a loop chris Excel Programming 4 October 2nd 03 07:58 AM
What's causing file to increase in size and slow program? jfeka[_2_] Excel Programming 5 August 1st 03 01:38 PM


All times are GMT +1. The time now is 07:48 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"