XL97: How to Programmatically Create a Reference (160647)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q160647 SUMMARY
This article provides sample Microsoft Visual Basic for Applications Sub
procedures (or macros) that programmatically create and remove a reference
to another project.
NOTE: This functionality was not available in Microsoft Excel for Windows
95, version 7.0 or earlier.
REFERENCES
For more information about the References object, create a reference to
the "Microsoft Visual Basic for Applications Extensibility" library, and
then search the Object Browser. To do this, follow these steps:
- On the Tools menu, click References.
- In the References dialog box, click to select the "Microsoft Visual
Basic for Applications Extensibility" check box, and then click OK.
- In the Object Browser, search the VBIDE library for the References
class.
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435
VBA: Programming Resources for Visual Basic for
Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB160647 |
---|
|