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
Object
Object variables are stored as 32-bit (4-byte) addresses that
refer to objects. Using the Set statement, a variable declared
as an object can have any object reference assigned to it.
Note: Although a variable declared with the object type is flexible
enough to contain a reference to any object, binding to the object
referenced by that variable is always late binding and IntelliSense
will not be available. To force early binding, assign the object refer-
ence to a variable declared with a specific object variable type.
String
The most common variable in Word programming is probably
the string data type. A string contains a combination of char-
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