A family of Microsoft relational database management systems designed for ease of use.
Try this one, works everywhere, except you have no access to the VBA project.
Andreas.
Sub Test()
Dim Ref As Object 'VBIDE.Reference
With Application.VBE.ActiveVBProject
For Each Ref In .References
'With Ref
' Debug.Print .Name, .Major & "." & .Minor, .FullPath
'End With
If InStr(1, Ref.FullPath, "C:\FileLocation", vbTextCompare) = 1 Then
.References.Remove Ref
Exit For
End If
Next
End With
End Sub