Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Speed Issues again

Hi All

Sorry to bother you all again, but I have rolled my
project back to an earlier version and stated adding
individual bits of code until I find the great speed
offender. And it seems to me that there is a massive
problem with speed when I start to hide some columns.

Has anyone else had this problem and is there a way around
it? As in when I have hidden columns in the worksheets
the execution speed of the project halves at least. So I
could just unhide all columns whever I perform any
operation but this really isn't the best fix I was hoping
someone would have already jumpted this problem in their
travels

Thanks again
Jase
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Speed Issues again

Hi Jase,

Seems to me there is something else going on. Contrary to your
findings, I ran some crude tests and found some code ran on average
20% faster with the columns hidden. My tests simply looped thru a
block of numbers (300 rows x 30 columns) setting each cell to its
current value. I ran the test 50 times w/ the columns hidden and 50
times w/ them visible, then compared the averaged of each. On any
single test you might expect results to vary, so I think looking at an
average over several iterations is appropriate. Not sure if you
tested your problem several times or once. Guess it doesn't matter if
your results are substantially different w/ the columns hidden.

Just seems to me like something else is causing the slow down if its
substantially different, which it sounds like it is. Sorry no help.

I'm sure you already know about "Application.ScreenUpdating = False".

Regards,
Steve Hieb
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
Speed issues Antonio Excel Worksheet Functions 4 May 8th 06 08:23 AM
VBA Speed up sparx Excel Discussion (Misc queries) 2 April 29th 06 04:59 PM
Can you speed UP drag speed? Ryan W Excel Discussion (Misc queries) 1 October 24th 05 06:09 PM
I need mor Speed!!!! MESTRELLA29 Excel Discussion (Misc queries) 0 February 11th 05 02:51 PM
Speed? Stu[_31_] Excel Programming 11 October 18th 03 09:41 PM


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

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"