Shows how to build VBA macros to maximize the power of Excel. Follow more than twenty sample codes through projects that are practical and useful, and learn to apply VBA programming in unique and useful ways.
Make Excel work harder and faster for you. This unique book presents sample code for more than twenty practical, high-powered Excel VBA macro applications. You’ll get all the essentials of VBA, and then explore ways to power Excel with VBA. Automate tasks, convert numbers to labels, transpose cells, add formula details, globally changes values, and much, much more.
Inhaltsverzeichnis
<H2> Part I: Programming in Excel VBA<H3> 1: The Basics<H3> 2: Variables, Arrays, Constants, and Data Types<H3> 3: Modules, Functions, and Subroutines<H3> 4: Programming Basics: Decisions and Looping<H3> 5: Strings and Functions and Message Boxes<H3> 6: Operators<H3> 7: Debugging<H3> 8: Errors and the Error Function<H3> 9: Dialogs<H3> 10: Common Dialog Control<H3> 11: Command Bars and Buttons<H2> Part II: Object Models<H3> 12: The Excel Object Model<H3> 13: The Excel Object Model-Main Objects<H3> 14: Using Excel to Interact with Other Office Programs<H2> Part III: Advanced Techniques in Excel VBA<H3> 15: Charts and Graphs<H3> 16: Working with Databases<H3> 17: API Calls<H3> 18: Class Modules<H3> 19: Animation<H2> Part IV: VBA in Action<H3> 20: Converting Labels to Numbers and Numbers to Labels<H3> 21: Transposing a Range of Cells<H3> 22: Adding Formula Details into Comments<H3> 23: Calculating a Range<H3> 24: Reversing a Label<H3> 25: Who Created the Workbook?<H3> 26: Evaluating a Cell<H3> 27: Sorting Worksheets into Alphabetical Order<H3> 28: Replacing Characters in a String<H3> 29: Timed Events<H3> 30: Auto Totaling a Matrix of Numbers<H3> 31: Absolute and Relative Formulas<H3> 32: Coloring Alternate Rows and Columns of the Spreadsheet<H3> 33: Coloring Cells Containing Formulas<H3> 34: Summing Cells by Reference to a Master Cell<H3> 35: Globally Changing a Range of Values<H3> 36: Displaying Hidden Sheets Without a Password<H3> 37: Searching Multiple Sheets and Workbooks<H3> 38: Brighten Up Your Comments<H3> 39: An Alternative to Message Boxes<H3> 40: Working with Shapes<H3> 41: Turning Your VBA Code into an Add-In<H3> A: ASCII Character Codes