GetVBAReferences Method (UtsTerminal)
Retrieves a list of the session documents referenced by the current session from the VBA References settings. The macros in these session documents are available to the current session.
expression.GetVBAReferences() As String()
where
expression is a variable that represents a
UtsTerminal Object
Return Value
A string array that contains the referenced session file names.
This sample gets a list of the session documents referenced by the current session.
Sub GetListOfVBAReferences()
Dim listOfSessionFiles() As String
listOfSessionFiles = ThisUtsTerminal.GetVBAReferences()
For Each Item In listOfSessionFiles
Debug.Print Item
Next
End Sub