LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Iteration performance issue

Hi,
I am trying to programmatically iterate through rows, picking the values of
two cells per row, doing some (simple arithmetic) calculations and writing
output to another sheet. (One write per 32 reads in average.)

I can't figure out what I am doing wrong, because it takes some awful lot of
time. My input worksheet has 31000 rows and it takes some 40min to step
through them. I am using
Worksheet.Cells(y, x) syntax to retrieve and write values from/to cells.
Can't believe Excel is so lame, hope a faster syntax exists. Even Access
steps through a recordset faster than this. Could not find anything relevant
in Help. Range transfer to/from VBA array would be great. Using Excel XP
2002 on a 1.5GHz Pent with 512M RAM.

Thanks in advance!


 
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
Active Cell? = Iteration / Maximum Change Issue Mark_S Excel Discussion (Misc queries) 0 November 23rd 10 01:09 AM
Performance Issue KS Excel Discussion (Misc queries) 1 March 22nd 10 05:06 PM
Excel2007 Conditional Formatting Slow Performance Issue Michael F Excel Worksheet Functions 1 June 26th 09 05:42 PM
Excel Performance issue Sandy Excel Discussion (Misc queries) 0 September 14th 05 01:50 PM
Excel Viewer performance issue Macca101 Excel Discussion (Misc queries) 0 April 28th 05 12:09 PM


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