InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.UTS Library / UtsTerminal Object / GetVBAReferences Method
Example
In This Topic
    GetVBAReferences Method (UtsTerminal)
    In This Topic
    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.
    Syntax
    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.
    Example
    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
    See Also