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