AddVBAReference Method (IIbmTerminal)
In This Topic
Adds a reference to a session file that contains macros you want to share with the current session to the VBA References settings. After you add the reference, the macros in that file are available to the current session. When you save your session, the macros are saved in your current session document file and updated each time you reopen your session.
Syntax
'Declaration
Sub AddVBAReference( _
ByVal As String _
)
'Usage
Dim instance As IIbmTerminal
Dim sessionPath As String
instance.AddVBAReference(sessionPath)
void AddVBAReference(
string
)
Parameters
- sessionPath
- The fully qualified file name of the session document file that contains the macros you want to share. Network locations should be specified with UNC file paths.
Exceptions
See Also