Skip to main content

VBA for Office developers

Microsoft Office applications offer a very rich set of features, and provide many different ways to author, format, and do things with documents, email, databases, spreadsheets, and presentations. These features are extensible, meaning that the operations that you perform using the mouse, keyboard, and dialogs can also be performed by simple Visual Basic for Applications (VBA) code scripts.

You can create VBA code scripts behind Office applications or behind documents. You can write code from scratch, or you can set applications such as Word or Excel to record your mouse-clicks and generate the code for you. Using VBA you can create code that automates repetitive tasks and simplifies a complex series of clicks and keystrokes.

What you can do with VBA When to use VBA and why 101 VBA samples for Office 2010

Books

Book cover: Excel 2007 VBA Macro Programming Excel 2007 VBA Macro Programming

By Richard Shepherd

Book cover: Word 2007 Macros & VBA Made Easy Word 2007 Macros & VBA Made Easy

By Guy Hart-Davis

more

By product

Office cross-application

VBA support