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: 1
Default Which method is faster?

Hi!

My first post here..

I have to write 5000 rows to an Excel spreadsheet.
Each row is distinct, and is received from a server. The writing of th
rows themselves is not a problem however. (I'm setting the row range t
a variant array)

Here is my question.. I also have to color the row and lock it down
depending on the information in the row itself. Currently, we check th
criteria of the row at the time when we add it onto the sheet, and loc
it and color it at that point. Naturally screen updates are turned of
for the processing of all 5000 rows!

However, I recently thought of another way to do it, where I have
LockDownRange which I union with the row range if it meets the loc
down criteria. Then after processing all 5000 rows, I call one singl
lock down on the LockDownRange. Ditto with the ColorRange

Is the second method going to be any faster

--
Message posted from http://www.ExcelForum.com

 
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
Please post this thread a correct full method, method about Nast Runsome New Users to Excel 8 February 25th 08 03:29 PM
Please post this thread a complete correct method, method about te Nast Runsome New Users to Excel 0 February 23rd 08 09:42 PM
can this be done faster? Frank Excel Discussion (Misc queries) 7 August 9th 07 10:02 PM
Which method is faster matpoh Excel Discussion (Misc queries) 2 October 21st 05 03:12 PM
Can faster CPU+larger/faster RAM significantly speed up recalulati jmk_li Excel Discussion (Misc queries) 2 September 28th 05 10:24 AM


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

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

About Us

"It's about Microsoft Excel"