Am I limited to execute only 1 command in the Excel VBA Immediate Window. Is there a way to execute multiple statements?
Use the colon :
key to concatenate multiple statements together. (ex: MsgBox "msgBox1" : MsgBox "msgBox2"
will display two alert message boxes.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.