![]() ![]() ![]() Public WithEvents appWord as Word.Application This code must be placed in a class module, and an instance of the class must be correctly initialized to see this example work see Using events with the Application objectfor directions on how to accomplish this. As a result, when Word is started again, the Standard and Formatting toolbars are visible. This example ensures that the Standard and Formatting toolbars are visible before the user exits Word. Remarksįor information about using events with the Application object, see Using events with the Application object. SyntaxĮxpression A variable that represents an ' Application' object that has been declared with events in a class module. ![]() Occurs when the user exits Microsoft Word. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |