XL97: How to Use the Query Before and AfterRefresh Events (182735)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q182735 SUMMARY
In Microsoft Excel, you can automatically run a macro before or after
updating (refreshing) worksheet query data. You can do this with the
BeforeRefresh and AfterRefresh Visual Basic for Applications events. This
article contains an example of how to use the two events to run a macro.
REFERENCES
For more information about using event handlers, click the Office
Assistant, type events, click Search, and then
click to view the "Using events with Microsoft Excel objects" topic.
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Excel Help is not installed on your
computer, please see the following article in the Microsoft Knowledge Base:
120802 Office: How to Add/Remove a Single Office Program or Component
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto KB182735 |
---|
|