Open Subroutines Run Before Referenced Subroutines (106008)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel 98 Macintosh Edition
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
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbinfo kbProgramming KB106008 |
---|
|