Do-it-yourself programming for your Microsoft Office products
Excel Macros and VBA – Beginner Tutorial
The VBA programming platform used in virtually all Microsoft Office products is one of the most powerful tools you can use to enhance your use of those products.
In this VBA beginner's guide, you'll learn how to add the Developer menu to your Office application, how to open the VBA editor window, and how basic VBA statements and loops work so you can get started with VBA in Excel, Word, Powerpoint, Outlook, and OneNote.
This VBA tutorial uses the latest version of Microsoft Office products. If you have an earlier version, you may see some minor differences from the screenshots.