I have a code that loops through 56 Worksheets and on each sheet loops
through the used cells in Column A. Does anyone have a way to execute
the two-phase looping without activating the Worksheets? Following the
line of least resistance, and at the expense of speed, I have:
For each sh in WorkSheets
sh.activate
For each c in Range("a:a")
If Not IsEmpty(c) Then
<Do something
End if
Next
Next
I reckon that the code could be vastly speeded up if it didn't have to
select each sheet.
TIA.
Myles.
--
Myles
------------------------------------------------------------------------
Myles's Profile:
http://www.excelforum.com/member.php...o&userid=28746
View this thread:
http://www.excelforum.com/showthread...hreadid=496613