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
Tip: If you are using a series of UserForms, do not place any
code after you call the Show method of the next UserForm. Your
program’s execution will always resolve back through the call stack
and could produce unexpected results.
Run-Time Errors
You cannot avoid run-time errors; however, you can plan for
them. Planning for run-time errors involves developing an
error handler. Word 2007 includes a VBA Error Handler
add-in that makes working with your error handler easier.
Although we’ll briefly discuss this add-in toward the end of
the chapter, we’ll assume you are working in the normal
Office environment and discuss how you can implement error
handling ...
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