Chapter 2: VBA Programming
In This Chapter
Getting familiar with Visual Basic for Applications and the Visual Basic Editor
Editing a macro in the Visual Basic Editor
Creating a dialog box that prompts you for input for your macro
Writing new macros in the Visual Basic Editor
Using VBA to create user-defined functions
Using your user-defined functions in your spreadsheets
Saving user-defined functions as Excel add-ins
The subject of this chapter is Visual Basic for Applications (usually known simply as VBA), which is the official programming language of Excel, and how you can use it to edit the macros that you record (as described in Book VIII, Chapter 1) as well as to write new macros. The key to editing and writing macros in VBA is its editing program, the Visual Basic Editor (often ...