MacroRunThis Instruction
SyntaxGroupMacroRunThis MacroCode$
Flow ControlDescription
Play the macro code in MacroCode. Execution will continue at the following statement after the macro code has completed. The macro code can be either a single line or a complete macro.
See Also
Parameters Description MacroName$ Run the macro code in this string value.
Command$, MacroCheck, MacroCheckThis, MacroDir$, MacroRun, ModuleLoad, ModuleLoadThis
Sub Main Debug.Print "Before Demo" MacroRunThis "MsgBox ""Hello""" Debug.Print "After Demo" End Sub