Is there a way to add a reference?

  • Thread starter Thread starter Kenji
  • Start date Start date
K

Kenji

Is there a way to add a "reference" or "library" through VBA? I want my
excel sheet to add the "MSXML" library.. only if the person's running
Windows. Thanks!

Kenji
 
Yes, use the references collection (AddFromfile or AddFromGuid) in the MS
Visual Basic Extensibility Library. Create a reference to it an see help
for details.
 
Tom,
I want to add it through code. I want to put a check on a library in my
reference through VBA code.

Kenji
 
Back
Top