Article ID: 106008
Article Last Modified on 10/11/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 98 for Macintosh
This article was previously published under Q106008
SUMMARY
In Microsoft Excel, if you call a subroutine (for example, TestSub) from
another Visual Basic subroutine, Microsoft Excel will search for the
subroutine in the current workbook and then it will search any libraries
and/or workbooks to which the current workbook has references (these
references will be searched in top-to-bottom order as they appear in the
References dialog box).
Microsoft Excel will run the subroutine from the first location where it is
found. This is by design.
REFERENCES
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
Additional query words: 5.00a 5.00c 7.00a XL98 XL97 XL7 XL5 XL
Keywords: kbdtacode kbinfo kbprogramming KB106008