InfoConnect API Guide
Attachmate.Reflection.Emulation.UTS Namespace / IUtsTerminal Interface / RemoveVBAReference Method
The fully qualified file name of the session document file to remove.


RemoveVBAReference Method (IUtsTerminal)

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 IUtsTerminal
Dim sessionPath As String
 
instance.RemoveVBAReference(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