Mastering VBA for Microsoft Office 2007
Get more done in less time by automating Office tasksEven if you're not a programmer, you can quickly learn to write macros, automate tasks, and create custom applications for Office 2007 with Microsoft'sVisual Basic® for Applications (VBA) and the in-depth instruction in this comprehensive guide.You'll jump right into the basics of recording and running macros with Office's built-in Macro Recorder, before quickly moving to the essentials of VBA syntax, using loops and functions, building effective code, and programming applications in Word, Excel®, PowerPoint®, Outlook®, and Access®. You'll find pages of real-world examples as well as easy-to-follow techniques for topics such as accessing one application from another, programming the Ribbon, and much more.Coverage includes:Understanding the essentials of VBA syntaxUsing the Macro Recorder in Word and ExcelCreating code from scratch with the Visual Basic EditorFinding the objects, methods, and properties you needUsing loops to repeat actions in your code and adding If statements    for flexibilityAdding more choices with message, input, and dynamic dialog boxesModifying the Ribbon with XML code and callbacksBuilding, debugging, and securing your codeUse VBA to Customize Your Office 2007 ApplicationsTransform Complex Operations into a Single KeystrokeWork with XML-based Files, the Ribbon, and ActiveXAdd Embedded Macros and Add-ins to Improve ProductivityReinforce Your Skills with Real-WorldExamples