Organization of This Book
Writing Word Macros consists of 21 chapters divided into three parts. In addition, there are four appendixes.
Chapter 1, Introduction, examines why you might want to learn programming, and provides a few examples of the sorts of problems that can best be solved through programming.
Chapter 2, Preliminaries, introduces the Visual Basic for Applications language. Chapters Chapter 3 and Chapter 4, The Visual Basic Editor, Part I and The Visual Basic Editor, Part II, examine the Visual Basic integrated development environment (IDE), which is the programming environment used to develop Word VBA applications.
The second part of the book consists of Chapters Chapter 5 through Chapter 8, which provide an introduction to the VBA language, the language component common to Microsoft Visual Basic and to many of Microsoft’s major applications, including Word, Excel, PowerPoint, and Project, as well as to software from some other publishers. Individual chapters survey VBA’s data types, constants, and variables (Chapter 5, Variables, Data Types, and Constants), functions and subroutines (Chapter 6, Functions and Subroutines), intrinsic functions and statements (Chapter 7, Built-in Functions and Statements), and control statements (Chapter 8, Control Statements).
The last part of the book is devoted to the Word object model itself. This model determines which elements of Word (documents, paragraphs, fonts, and so on) are accessible through code and how they can be controlled ...
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.
Read now
Unlock full access