Knockoutpie
Board Regular
- Joined
- Sep 10, 2018
- Messages
- 116
- Office Version
- 365
- Platform
- Windows
I am automating a report, but there are a few sections which would be easier to manually adjust than to automate.
I have a popup box right now that pauses the code and allows the user to make manual adjustments, upon closing the box the code will continue.
I need this to happen 3-4 times now, and i'm getting a duplicate scope error.
Any one have a solution or alternatives?
I have a popup box right now that pauses the code and allows the user to make manual adjustments, upon closing the box the code will continue.
I need this to happen 3-4 times now, and i'm getting a duplicate scope error.
Any one have a solution or alternatives?
VBA Code:
' Pause the script for manual input
UserForm1.Label1 = "Make some changes, close or click OK when done"
' MsgBox "Make changes..."
On Error GoTo Continue
UserForm1.Show vbModeless
Do While Not UserForm1.Visible
DoEvents
Loop
Do While UserForm1.Visible
DoEvents
Loop
Continue:
' MsgBox "Let's go!"