If you use Word enough, you probably feel that you should be able to write reports, fax memos, or perform simple word processing tasks -- particularly repetitive ones -- with far greater ease and efficiency than you do now. The solution is to use Visual Basic for Applications to control Word programmatically. By writing a VBA macro, you can tap into the Word object model to automate common or repetitive tasks, thereby increasing your overall productivity. Learning Word Programming is the introduction to Word VBA that allows you to do just that.
Learning Word Programming provides Word users, as well as programmers who are not familiar with the Word object model, with a solid introduction to writing VBA macros and programs. In particular, the book focuses on:
The Visual Basic Editor and the Word VBA programming environment. Word features a complete and very powerful integrated development environment for writing, running, testing, and debugging VBA macros.
The VBA programming language (which is the same programming language used by Microsoft Excel, Access, and PowerPoint, as well as the retail editions of Visual Basic).
The Word object model. Word exposes nearly all of its functionality through its object model, which allows Word to be controlled programmatically using VBA. While the Word object model, with almost 200 objects, is the largest among the Office applications, readers need be familiar with only a handful of objects. Learning Word Programming focuses on these essential objects, but includes a discussion of a great many more objects as well.
Learning Word Programming is written in a terse, no-nonsense manner that is characteristic of Steven Roman's straightforward, practical approach. Instead of a slow-paced tutorial with a lot of hand-holding, Roman offers the essential information about Word VBA that you must master to program effectively. This tutorial is reinforced by interesting and useful examples that solve practical programming problems, like generating tables of a particular format, managing shortcut keys, creating fax cover sheets, and reformatting documents.
Learning Word Programming is the book you need to delve into the basics of Word VBA programming, enabling you to increase your power and productivity when using Microsoft Word.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal appearing on the cover of Learning Word Programming is a Beisa oryx (Oryx gazella beisa), a brownish-grey subspecies of East African antelope. The oryx is distinctively marked with black and white face and leg patterns; their white underbelly is outlined with a black stripe. The oryx is about the size of a deer (1.5-2.4 meters long), with slightly curved, parallel, ridged horns up to four feet long; these are used for defense in both sexes.
The Beisa oryx is located throughout eastern Africa, particularly Ethiopia, in short-grass steppes, semi-desert, and savannah habitats, feeding upon leaves, grasses, fruits, and other plant materials. They are gregarious, traveling in herds of a few dozen, and eating several times a day. Their enemies include large cats, such as leopards, lions, and cheetahs, as well as hyenas and human hunters. Their territory has dwindled due to excessive hunting. The Beisa oryx once appeared on one of a series of Ethiopian stamps celebrating the nation's wildlife. Nancy Kotary was the production editor and copyeditor for Learning Word Programming; Sheryl Avruch was the production manager. Kristine Simmons was the proofreader. Mary Anne Mayo and Jane Ellin provided quality control. Kimo Carter provided production support. Ruth Rautenberg wrote the index.
Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. The cover layout was produced with Quark XPress 3.32 using the ITC Garamond font.
The inside layout was designed by Nancy Priest and implemented in FrameMaker 5.5 by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were created in Macromedia FreeHand 7 and Adobe Photoshop 4 by Robert Romano. This colophon was written by Nancy Kotary.