Writing Word Macros: Programming the Word Object Model Using VBA
Steve Roman, Ronald Petrusha
Abstract
Steve Roman, Ronald Petrusha
Abstract
From the Publisher: Many Microsoft users and VBA programmers don't realize the extensive opportunities that exist when Word's Object Model is accessed using Visual Basic for Applications (VBA), which replaced WordBasic in conjunction with the release of 97. By creating what is commonly called a Word Macro you can automate many features available in Word. Writing Macros (previously titled Learning Programming is the introduction to VBA that allows you to do these things and more, including: Create custom pop-up menus Automatically create tables from lists Append one document to the end (or beginning) of another Create a toggle switch to change a document from draft to final copy by adding or removing a watermark in the header Generate reports using data from other applications Use the spell-checking abilities of in your own application Not intended to be an encyclopedia of programming, Writing Macros provides users, as well as programmers who are not familiar with the object model with a solid introduction to writing VBA macros and programs. In particular, the book focuses on: The Visual Basic Editor and the VBA programming environment. 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 object model. exposes nearly all of its functionality through its object model, which allows to be controlled programmatically using VBA. While the object model, with almost 200 objects, is the largest among the Office applications, readers need be familiar with only a handful of objects. Writing Macros focuses on these essential objects, but includes a discussion of a great many more objects as well. Writing Macros 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 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. Writing Macros is the book you need to dive into the basics of VBA programming, enabling you to increase your power and productivity when using Microsoft Word.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
From the Publisher: Many Microsoft users and VBA programmers don't realize the extensive opportunities that exist when Word's Object Model is accessed using Visual Basic for Applications (VBA), which replaced WordBasic in conjunction with the release of 97. By creating what is commonly called a Word Macro you can automate many features available in Word. Writing Macros (previously titled Learning Programming is the introduction to VBA that allows you to do these things and more, including: Create custom pop-up menus Automatically create tables from lists Append one document to the end (or beginning) of another Create a toggle switch to change a document from draft to final copy by adding or removing a watermark in the header Generate reports using data from other applications Use the spell-checking abilities of in your own application Not intended to be an encyclopedia of programming, Writing Macros provides users, as well as programmers who are not familiar with the object model with a solid introduction to writing VBA macros and programs. In particular, the book focuses on: The Visual Basic Editor and the VBA programming environment. 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 object model. exposes nearly all of its functionality through its object model, which allows to be controlled programmatically using VBA. While the object model, with almost 200 objects, is the largest among the Office applications, readers need be familiar with only a handful of objects. Writing Macros focuses on these essential objects, but includes a discussion of a great many more objects as well. Writing Macros 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 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. Writing Macros is the book you need to dive into the basics of VBA programming, enabling you to increase your power and productivity when using Microsoft Word.
Key concepts: Visual Basic for Applications, Computer science, Macro, Programming language, Visual Basic, Debugging, Object (grammar), Word processing