VBA: How To Delete a Sub Procedure After It Runs Once (172109)
The information in this article applies to:
- Microsoft Visual Basic for Applications 5.0
- Microsoft Excel 97 for Windows
This article was previously published under Q172109 SUMMARY
This article demonstrates how to programmatically delete a Visual Basic for
Applications procedure after you run it one time.
REFERENCES
For more information about controlling the Visual Basic Editor
programmatically, click the Office Assistant while in the Visual Basic
Editor, type vbe, click Search, and then click to view "VBE Property."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query, please
see the following article in the Microsoft Knowledge Base:
176476 OFF: Office Assistant Not Answering Visual Basic Questions
For more 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: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbcode kbhowto KB172109 |
---|
|