Examples – The Secret Life of Word

The Secret Life of Word contains over 200 examples, most of which you can download from this page. With the exception of Example 5.14, which was written by Paul Edstein, all of the examples were written by Robert Delwood and are Copyright (c) 2011 by Robert Delwood.

In most cases, you may copy, change, and use these files in your own programs in any way you want, freely, and without asking permission. The only exceptions would be if you wish to sell or distribute the examples. For more information, send email to permissions <at> xmlpress.net.

These examples are provided with NO WARRANTY express or implied.

You can download all the examples (except for the last one for the optimization article, which is separate) in a single zip file or gzipped tar file, or you can download them chapter-by-chapter.

Chapter zip file gzipped tar file
Chapter 3: Creating Macros: zip file gzipped tar file
Chapter 4: Find and Replace: zip file gzipped tar file
Chapter 5: Fields, Form Fields, and Content Controls: zip file gzipped tar file
Chapter 6: AutoCorrect and AutoText/Building Blocks zip file gzipped tar file
Chapter 7: Smart Tags zip file gzipped tar file
Chapter 8: Exchanging Data: zip file gzipped tar file
Appendix A: Code Samples zip file gzipped tar file
Appendix B: Automation Related Topics zip file gzipped tar file
Appendix C: ASCII Table zip file gzipped tar file
Article: Optimizing VBA: Part Two: Loops zip file gzipped tar file