'Declaration
Sub RemoveVBAReference( _ ByVal sessionPath As String _ )
void RemoveVBAReference( string sessionPath )
Parameters
- sessionPath
- The fully qualified file name of the session document file to remove.
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.
'Declaration
Sub RemoveVBAReference( _ ByVal sessionPath As String _ )
void RemoveVBAReference( string sessionPath )
Exception | Description |
---|---|
Attachmate.Reflection.Framework.VBAReferenceException | This exception is thrown when security settings prevent removing VBA references. |