Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I'm running a macro to set some values for a long list (18,000 entries) of data. Everything is working fine, but I'm finding that Excel takes a long time to enter the two new pieces of data that I'm telling it to. The calculation happens almost right away, but printing the results takes about a second. I've tried two ways, and they both take about the same amount of time. Here's what I've tried: ActiveSheet.Range("AF" & activerow) = TimeBack 'ActiveCell.Offset(0, 1).Value = TimeBack ActiveSheet.Range("AG" & activerow) = row 'ActiveCell.Offset(0, 2).Value = row Any suggestions for a method that would be quicker? Thanks, Eric |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'll reply to my own question - the spreadsheet is pretty large, and it was
the automatic calculation that was slowing it down. Even though nothing was based on the cells I was changing, I guess Excel has to check to make sure. When I turned calculation to automatic, it went much more quickly. Eric "Eric" wrote: Hi all, I'm running a macro to set some values for a long list (18,000 entries) of data. Everything is working fine, but I'm finding that Excel takes a long time to enter the two new pieces of data that I'm telling it to. The calculation happens almost right away, but printing the results takes about a second. I've tried two ways, and they both take about the same amount of time. Here's what I've tried: ActiveSheet.Range("AF" & activerow) = TimeBack 'ActiveCell.Offset(0, 1).Value = TimeBack ActiveSheet.Range("AG" & activerow) = row 'ActiveCell.Offset(0, 2).Value = row Any suggestions for a method that would be quicker? Thanks, Eric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Processing taking a really long time | Excel Discussion (Misc queries) | |||
Extreme, time-consuming processing | Excel Discussion (Misc queries) | |||
Converting date/time serial values to cumulative time totals... | Excel Discussion (Misc queries) | |||
How to measure time for processing periods? | Excel Discussion (Misc queries) | |||
Processing Time | Excel Worksheet Functions |