What this book covers
Chapter 1, Getting Started with VBA, gives a general introduction to VBA, and how to go about recording and editing a macro.
Chapter 2, Working with the VBA Editor, shows us how to work with and customize the VBA Editor.
Chapter 3, The VBA Object Model, gets us familiar with objects in VBA.
Chapter 4, Working with Procedures, shows us how to write Sub
procedures manually.
Chapter 5, Next Level Recording, discusses recording macros with relative or absolute referencing.
Chapter 6, VBA Language Elements, introduces us to VBA language elements.
Chapter 7, Working with Ranges, gives us an understanding of cells and named ranges, as well as referring to ranges in VBA.
Chapter 8, Using Functions, tells us the difference between Sub
procedures and functions, and covers writing a simple VBA function.
Chapter 9, Implementing Program Flow, covers the implementation of program flow principles in your VBA Sub
procedures.
Chapter 10, Implementing Automation, introduces us to writing event handler procedures.
Chapter 11, Handling Errors, introduces us to error handling in VBA, with practical code samples.
Chapter 12, Debugging, identifies different bugs in VBA, and uses various debugging techniques to eliminate bugs.
Chapter 13, Creating and Modifying Dialog Boxes, creates every possible type of message box and input box imaginable.
Chapter 14, Creating UserForms, introduces us to UserForms. We'll cover setting up a form, creating labels and text boxes, and using lookup fields and frames.
Chapter 15, UserForm Controls, brings life to UserForms by adding controls, namely, Combo Boxes, SpinButtons, date options, and command buttons.
Chapter 16, Creating Custom Functions, takes functions to a new level of automation, including a look at calling functions from Sub
procedures.
Chapter 17, Creating Word Documents with Excel VBA, examines activating MS Word from within Excel VBA, opening a new document, and transferring Excel content to Word.
Chapter 18, Working with PowerPoint in Excel VBA, shows you how to activate MS PowerPoint using only Excel VBA commands, then create a new presentation and slide show with content from Excel.