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
control creation in the same manner as VB. But with a little
creativity, you can accomplish practically the same thing.
The Traditional Method
The main thing to remember about controls is that they are
objects. As objects, they have properties and methods you can
manipulate at design time or run time to achieve the desired
results. This chapter presents two common ways to create
controls at run time in VBA. Virtually any run-time control
creation will use a variation of one of these two methods. The
most common way (the traditional way) is to create a control
object variable to contain the run-time control, as shown in
Listing 9-1 below. Figure 9-1 shows ...
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