InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / RemoveVBAReference Method
The fully qualified file name of the session document file to remove.


In This Topic
    RemoveVBAReference Method (ITerminal)
    In This Topic

    Removes a reference to a session document file from the VBA References settings. After you remove this file name, the macros in that file are no longer available in the current session. To make this change permanent, you'll need to save your session document file.

    Syntax
    'Declaration
     
    
    Sub RemoveVBAReference( _
       ByVal sessionPath As String _
    ) 
    'Usage
     
    
    Dim instance As ITerminal
    Dim sessionPath As String
     
    instance.RemoveVBAReference(sessionPath)
    void RemoveVBAReference( 
       string sessionPath
    )

    Parameters

    sessionPath
    The fully qualified file name of the session document file to remove.
    Exceptions
    ExceptionDescription
    This exception is thrown when security settings prevent removing VBA references.
    See Also