Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Macro Object / StopMacroRecording Method
A MacroDestinationOption Enumeration value that specifies the location to which the macro is saved. MacroDestinationOption.Document saves to the session document's VBA project. MacroDestinationOption_CommonProject saves to the Common VBA project. MacroDestinationOption_Clipboard copies the macro script to the Windows Clipboard.
The name of the saved macro. This parameter is ignored if saveLocation is Clipboard.
In This Topic
    StopMacroRecording Method (Macro)
    In This Topic
    Stops the macro recorder in the current terminal session, and saves the macro.
    Syntax
    expression.StopMacroRecording( _
       ByVal saveLocation As MacroDestinationOption, _
       ByVal macroName As String _
    ) 
    where expression is a variable that represents a Macro Object

    Parameters

    saveLocation
    A MacroDestinationOption Enumeration value that specifies the location to which the macro is saved. MacroDestinationOption.Document saves to the session document's VBA project. MacroDestinationOption_CommonProject saves to the Common VBA project. MacroDestinationOption_Clipboard copies the macro script to the Windows Clipboard.
    macroName
    The name of the saved macro. This parameter is ignored if saveLocation is Clipboard.
    Exceptions
    ExceptionDescription
    Thrown if the macro name is null, empty, or contains invalid characters.
    See Also