I’ve looked through posts, unless I missed one, on these subject, but still can’t quite get the syntax down for adding a reference to an object library in code. I need to add a reference at run time to “Microsoft Visual Basic for Applications Extensability 5.3”.
What I have so far is:
Dim ExtLib As Object
Set objCurProj = GlobTemp.VBProject
Set ExtLib = CreateObject(objCurProj.References.????)
Thanks!!
Troy