Reputation: 31
The Excel sheet is getting Not-responding while the Macro is running, Once the macro has run, it back to the sheet with the answers.
Upvotes: 0
Views: 3515
Reputation: 7073
You are probably running some kind of loop. Try inserting a DoEvents
somewhere in the loop and see if this helps.
Dim i As Long
For i = 1 To 1000
' do stuff that takes a long time
DoEvents
Next i
Upvotes: 1