Skip to Main Content
Word 2007 Document Automation with VBA and VSTO
book

Word 2007 Document Automation with VBA and VSTO

by Scott Driza
March 2009
Intermediate to advanced content levelIntermediate to advanced
617 pages
17h 24m
English
Jones & Bartlett Learning
Content preview from Word 2007 Document Automation with VBA and VSTO
You can go back now to the ThisApplication class mod-
ule. The class module contains two list boxes on the toolbar.
If you pull down the one on the left and change the selection
from (General) to oApp, a procedure called oApp_Quit() will
be created. The list box on the right contains several other
application events that can be utilized.
Note: Although these are all application events, some of them can
only be triggered by a document.
The Document Object
The Document object represents a document. It is a member
of the Documents collection, which is a collection of all open
documents in the active instance of Word. You can use the
Documents collection to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Word 2003 Document Automation with VBA, XML, XSLT, and Smart Documents

Word 2003 Document Automation with VBA, XML, XSLT, and Smart Documents

Scott Driza

Publisher Resources

ISBN: 9781598220476