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
4. Select the field and press Alt+F9. This should toggle the
field to display your name as above.
Note: The Charformat switch has formatted your name with the
same formatting as the first letter of the field name — in this case,
your name is underlined.
Commonly Used Fields
Word 2007 has a total of 77 different fields. In this chapter,
we’ve decided to introduce some fields that can have a big
impact with relatively little effort. Before we explore the
options of combining Word fields with VBA code, we’ll
introduce a few of the fields and include them in a real-world
application.
One of the key considerations when designing templates
is to make sure users ...
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