DescriptionHaving Excel and just using it for standard spreadsheets is a little like getting the ultimate cable system and a 50” flat panel plasma HDTV and using it exclusively to watch Lawrence Welk reruns. With Visual Basic for Applications (VBA) programming, you can take advantage of numerous Excel options such as: creating new worksheet functions; automating tasks and operations; creating new appearances, toolbars, and menus; designing custom dialog boxes and add-ins; and much more.
This guide is not for rank Excel amateurs. It’s for intermediate to advanced Excel users who want to learn VBA programming (or whose bosses want them to learn VBA programming). You need to know your way around Excel before you start creating customized short cuts or systems for speeding through Excel functions. If you’re an intermediate or advanced Excel user, Excel VBA For Dummies helps you take your skills (and your spreadsheets) to the next level. It includes:
- An introduction to the VBA language
- A hands-on, guided, step-by-step walk through developing a useful VBA macro, including recording, testing, and changing it, and testing it
- The essential foundation, including the Visual Basic Editor (VBE) and its components, modules, Excel object model, subroutines and functions, and the Excel macro recorder
- The essential VBA language elements, including comments, variables and constants, and labels
- Working with Range objects and discovering useful Range objective properties and methods
- Using VBA and worksheet functions, including a list and examples
- Programming constructions, including the GoTo statement, the If-Then structure, Select Case, For-Next loop, Do-While loop, and Do-Until loop
- Automatic procedures and Workbook events, including a table and event-handler procedures
- Error-handling and bug extermination techniques, and using the Excel debugging tools
- Creating custom dialog boxes, also known as UserForms, with a table of the toolbox controls and their capabilities, how-to for the dialog box controls, and UserForm techniques and tricks
- Customizing the Excel toolbars
- Using VBA code to modify the Excel menu system
- Creating worksheet functions and working with various types of arguments
- Creating Excel add-ins such as new worksheet functions you can use in formulas or new commands or utilities
Author John Walkenbach is a leading authority on spreadsheet software and the author of more than 40 spreadsheet books including Excel 2003 Bible and Excel 2003 Power Programming with VBA. While this guide includes tons of examples and screenshots, Walkenbach knows there’s no substitute for hands-on learning. The book is complete with:
- A dedicated companion Web site that includes bonus chapters plus all sample programs to save you a lot of typing and let you play around and experiment with various changes
- Information to help you make the most of Excel’s built-in Help system so you can find out other stuff you may need to know
What are you waiting for? Sure, learning to do VBA programming takes a little effort, but it’s a Very Big Accomplishment.
Part I: Introducing VBA.
Chapter 1: What Is VBA?
Chapter 2: Jumping Right In.
Part II: How VBA Works with Excel.
Chapter 3: Introducing 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: Developing Custom Dialog Boxes.
Chapter 15: Custom Dialog Box Alternatives.
Chapter 16: Custom Dialog Box Basics.
Chapter 17: Using Dialog Box Controls.
Chapter 18: UserForm Techniques and Tricks.
Part V: Creating Custom Toolbars and Menus.
Chapter 19: Customizing the Excel Toolbars.
Chapter 20: When the Normal Excel Menus Aren’t Good Enough.
Part VI: Putting It All Together.
Chapter 21: Creating Worksheet Functions — and Living to Tell about It.
Chapter 22: Creating Excel Add-Ins.
Chapter 23: Interacting with Other Office Applications.
Part VII: The Part of Tens.
Chapter 24: Ten VBA Questions (And Answers).
Chapter 25: (Almost) Ten Excel Resources.
|Bonus Chapter 1: Creating Excel Applications for Others|
The following bonus chapters are available in PDF format. To view a PDF file, you will need to have the latest version of Adobe's Acrobat Reader installed on your computer.
|Bonus Chapter 2: 10 VBA Tips and Tricks||Download|
|Chapter 10 |
The following example files are available in ZIP format archives. If your computer is unable to open ZIP files, try downloading and installing the trial version of WinRAR.
|All files in one download|
You can also download all of the above files in one download