Jaymond Flurrie
Well-known Member
- Joined
- Sep 22, 2008
- Messages
- 921
- Office Version
- 365
- Platform
- Windows
I run a long, demanding VBA code task with Excel and I would like to let my user to see that something is happening. Excel does application.statusbar nicely for a while until it "chokes" and stops updating. What's the smartest way to let Excel "breath"?
I tried this:
but it still "chokes". Other ideas?
I tried this:
Code:
If x Mod 250 = 0 Then
Application.StatusBar = "Running the task, " & x & "/" & lTotal & " = " & Format(x / lTotal, "0.00%") & " done"
If x Mod 5000 = 0 Then
Application.Wait (10)
End If
End If
but it still "chokes". Other ideas?