View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Thomas Kregeloh Thomas Kregeloh is offline
external usenet poster
 
Posts: 5
Default Alternatives to VBA in Excel

Hi Bob,
is this also true when screen updating is switched off?
Thomas


"Bob Phillips" schrieb im Newsbeitrag
...
The problem with select is that it is slow, and if there is a lot of it
going on, it can make quite a performance difference. If on top of that

you
move between worksheets, that compounds the problem. For instance, this is
the sort of code that the macro recorder creates

Range("A1").Select
Selection.Value = "abc"

can be more efficiently written as

Range("A1").Value = "abc"

The amount of work removed here, and the CPU cycles, is significant, but

the
result is exactly the same.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)