• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with EXCEL - Pausing a macro

EpsiIon

Platinum Member
I've been looking for 30 minutes and I can't find a simple answer anywhere. I've got a macro that changes the value of some cells and then prints them out. Instead of printing these cells, I want to simply scan the cells as they change (to make sure there are no errors). I simply can't find a way to get the macro to pause for about 1/2 a second so that I can process what I'm seeing. Can anybody here help me?

Keep in mind that I know next to nothing about VB, and the macro looks as if it was created IN EXCEL (rather than the VB editor bundled with Excel). I tried =PAUSE( # ) and =WAIT( # ), but neither of those seems to work. Any advice or help is greatly appreciated.

Thanks!
Epsilon
 
Try this :

Sub Wait5Sec()
Application.OnTime Now + TimeValue("00:00:05"), "other sub routine"
End Sub


 
Back
Top