Writing, Editing, and Sharing Simple Macros


All code samples shown throughout the headings in this section are available in procedures in a module named PrimerSamples.bas, that is included in the sample files on the book’s CD. See "Saving and Sharing Macros" for help importing a module into your Visual Basic Editor.


Most of the features you’ll learn about in this section are programming basics. They’re written here specifically for VBA. However, it might be useful to know, should you ever want to learn another programming language, that many of the concepts and terms used throughout this section are fairly standard across common programming languages. ...

Get 2007 Microsoft® Office System Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.