停止

Stop 命令将在调用时暂停执行。从那里,该过程可以恢复或逐步执行。

Sub Test()
    Dim TestVar as String
    TestVar = "Hello World"
    Stop                    'Sub will be executed to this point and then wait for the user
    MsgBox TestVar
End Sub