Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Probably the quickest way is to read the range into a variant array, perform your calculations and transfer the variant array back to the range. A very simple emulation of your requirements for 30,000 rows and 50 columns took less than 10 secs. Is this performance acceptable? HTH "MDW" wrote: What's the quickest, most efficient way to do something to every cell in a range? I've got a range of cells, and I want to do one of the following depending on user params: 1) replace every value with an apostrophe and the value (coercing it to a text data type for Access import) 2) replace every value with the Val() of that value (replacing blank cells with 0, again for Access import) I'm conversant with the "For Each C In objR.Cells" loop, but I've got 20,000+ rows and this loop is taking too long. Any other suggestions that would accomplish the same thing would be greatly apperciated. -- Hmm...they have the Internet on COMPUTERS now! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel: monthly download of 1000 members, need to update quickly | Excel Worksheet Functions | |||
Excel 2007 - How do I quickly update a chart using Source data? | Charts and Charting in Excel | |||
How can i quickly mark a huge range, like A1 to DV3500? | Excel Discussion (Misc queries) | |||
Update Range upon Load | Excel Programming | |||
How update range after web query? | Excel Programming |