Sub AddAndRemoveVBAReference()
Dim listOfSessionFiles() As String
ThisT27Terminal.AddVBAReference ("\\myServer\shared\sharedDemo.it27")
listOfSessionFiles = ThisT27Terminal.GetVBAReferences()
Debug.Print "After adding to list"
For Each Item In listOfSessionFiles
Debug.Print Item
Next
ThisT27Terminal.RemoveVBAReference ("\\myServer\shared\sharedDemo.it27")
listOfSessionFiles = ThisT27Terminal.GetVBAReferences()
Debug.Print "After removing from list"
For Each Item In listOfSessionFiles
Debug.Print Item
Next
End Sub