Single threading hell... June 25. 2009
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I once wrote a macro to find from a list, satellite earth stations closest to a terrestrial tower. Calculate the look angle and sort by distance. That macro ran overnight in the office. Yeah a lot of good fun.
By the way you probably already know this but if you turn off visual updating when you run the macro it runs a hell lot faster.
By the way you probably already know this but if you turn off visual updating when you run the macro it runs a hell lot faster.
Just add a couple of lines in the macro
Application.ScreenUpdating = False
where you want it to stop updating and
Application.ScreenUpdating = True
when you want it to resume updating.
Great for when you have the macro switching between sheets or windows.
Application.ScreenUpdating = False
where you want it to stop updating and
Application.ScreenUpdating = True
when you want it to resume updating.
Great for when you have the macro switching between sheets or windows.
