Am I limited to execute only 1 command in the Excel VBA Immediate Window. Is there a way to execute multiple statements?
Asked
Active
Viewed 2,133 times
1 Answers
9
Use the colon :
key to concatenate multiple statements together. (ex: MsgBox "msgBox1" : MsgBox "msgBox2"
will display two alert message boxes.

satoukum
- 1,188
- 1
- 21
- 31