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
.pptm). If you want to add code that reacts when the user
interacts with the Ribbon customization, you must save the
document in code-enabled format. Files that contain codes
have an “m” suffix in their extension and can contain proce-
dures that can be called by RibbonX commands and controls.
Documents with this code functionality include the .docm,
.xlsm, and .pptm formats. For our example, we’ll save an
Excel file as shown in Figure 15-6.
Exit the Office application once you’ve saved the file. You
can open the file using a program such as WinZip (shown in
Figure 15-7), or you can use Windows Explorer to rename the
file with a .zip extension. If you ...
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