Excel VBA Programming For Dummies, 2nd Edition
Now that you've mastered Excel basics, it's time to move to the next level—creating your own, customized Excel 2010 solutions using Visual Basic for Applications (VBA). The new edition of this non-threatening guide is your key to getting there. Using step-by-step instruction and the accessible, friendly For Dummies style, this practical book shows you how to use VBA, write macros, customize your Excel apps to look and work the way you want, avoid errors, and more.
The book's Web site provides all the programming examples from the book.
- Introduces you to a new range of Excel 2010 options
- Shows you how to use Visual Basic for Applications (VBA) to program your own custom Excel applications or to automate functions
- Explains how to create VBA macros, program, handle errors, debug, and more
- Covers Visual Basic Editor tools and functions; working with range objects; controlling program flow; and the easiest ways to create custom dialog boxes, toolbars, and menus
- Includes a companion Web site with all the sample programs from the book
Create your own, custom Excel programs with this information-packed guide!
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Part I: Introducing VBA.
Chapter 1: What Is VBA?
Chapter 2: Jumping Right In.
Part II: How VBA Works with Excel.
Chapter 3: Working In the Visual Basic Editor.
Chapter 4: Introducing the Excel Object Model.
Chapter 5: VBA Sub and Function Procedures.
Chapter 6: Using the Excel Macro Recorder.
Part III: Programming Concepts.
Chapter 7: Essential VBA Language Elements.
Chapter 8: Working with Range Objects.
Chapter 9: Using VBA and Worksheet Functions.
Chapter 10: Controlling Program Flow and Making Decisions.
Chapter 11: Automatic Procedures and Events.
Chapter 12: Error-Handling Techniques.
Chapter 13: Bug Extermination Techniques.
Chapter 14: VBA Programming Examples.
Part IV: Communicating with Your Users.
Chapter 15: Simple Dialog Boxes.
Chapter 16: UserForm Basics.
Chapter 17: Using UserForm Controls.
Chapter 18: UserForm Techniques and Tricks.
Chapter 19: Accessing Your Macros through the User Interface.
Part V: Putting It All Together.
Chapter 20: Creating Worksheet Functions — and Living to Tell about It.
Chapter 21: Creating Excel Add-Ins.
Part VI: The Part of Tens.
Chapter 22: Ten VBA Questions (And Answers).
Chapter 23: (Almost) Ten Excel Resources.