A unique, comprehensive guide to creating custom apps with VBA Automating computing tasks to increase productivity is a goal for businesses of all sizes. Visual Basic for Applications (VBA) is a version of Visual Basic designed to be easily understandable for novice programmers, but still powerful enough for IT professionals who need to create specialized business applications. With this invaluable book, you′ ll learn how to extend the capabilities of Office 2013 applications with VBA programming and use it for writing macros, automating Office applications, and creating custom applications in Word, Excel, PowerPoint, Outlook, and Access. Covers the basics of VBA in clear, systematic tutorials and includes intermediate and advanced content for experienced VB developers Explores recording macros and getting started with VBA learning how to work with VBA using loops and functions using message boxes, input boxes, and dialog boxes creating effective code XML– based files, ActiveX, the developer tab, content controls, add– ins, embedded macros, and security Anchors the content with solid, real– world projects in Word, Excel, Outlook, PowerPoint, and Access Covering VBA for the entire suite of Office 2013 applications, Mastering VBA for Microsoft Office 2013 is mandatory reading. A unique, comprehensive guide to creating custom apps with VBA Automating computing tasks to increase productivity is a goal for businesses of all sizes. Make Office Your Own with VBA Customize Office, streamline tasks, and be far more productive by leveraging Visual Basic for Applications (VBA) to automate and extend Microsoft Office. VBA is built into Office 2013 applications and is easily understood even by non- programmers. It is powerful enough for IT professionals to create custom business applications for the enterprise. This detailed book covers it all— the basics for beginners and advanced content for experienced VB developers. You`ll learn how to use VBA to create macros, simplify Office tasks, and create custom solutions for Word, Excel, PowerPoint, Outlook, and Access. Coverage includes: Recording, writing, and running macros in Office 2013 Tapping into the power of the VBA Editor Understanding the essentials of VBA terminology Finding the objects, methods, and properties you need Using built- in functions and creating your own Creating simple dialog boxes and complex forms Writing well- behaved, debugged, and secure code Managing cloud storage with SkyDrive and Dropbox Customizing Word, Excel® , PowerPoint® , Outlook® , and Access® Accessing one application from another Programming the Office 2013 ribbon Streamline and Automate Tasks with VBA for Office 2013 Create Custom Apps for Word, Excel, PowerPoint, Outlook, and Access Master the Information You Need, from Basic to Advanced Enhance Your Skills with Real- World Examples and Projects Make Office Your Own with VBA Customize Office, streamline tasks, and be far more productive by leveraging Visual Basic for Applications (VBA) to automate and extend Microsoft Office. VBA is built into Office 2013 applications and is easily understood even by non- programmers. It is powerful enough for IT professionals to create custom business applications for the enterprise. This detailed book covers it all— the basics for beginners and advanced content for experienced VB developers. You`ll learn how to use VBA to create macros, simplify Office tasks, and create custom solutions for Word, Excel, PowerPoint, Outlook, and Access. Coverage includes: Recording, writing, and running macros in Office 2013 Tapping into the power of the VBA Editor Understanding the essentials of VBA terminology Finding the objects, methods, and properties you need Using built- in functions and creating your own Creating simple dialog boxes and complex forms Writing well- behaved, debugged, and secure code Managing cloud storage with SkyDrive and Dropbox Customizing Word, Excel® , PowerPoint® , Outlook® , and Access® Accessing one application from another Programming the Office 2013 ribbon Streamline and Automate Tasks with VBA for Office 2013 Create Custom Apps for Word, Excel, PowerPoint, Outlook, and Access Master the Information You Need, from Basic to Advanced Enhance Your Skills with Real- World Examples and Projects Introduction xxix Part 1 & bull Recording Macros and Getting Started with VBA 1 Chapter 1 & bull Recording and Running Macros in the Office Applications 3 Chapter 2 & bull Getting Started with the Visual Basic Editor 31 Chapter 3 & bull Editing Recorded Macros 65 Chapter 4 & bull Creating Code from Scratch in the Visual Basic Editor 87 Part 2 & bull Learning How to Work with VBA 107 Chapter 5 & bull Understanding the Essentials of VBA Syntax 109 Chapter 6 & bull Working with Variables, Constants, and Enumerations 125 Chapter 7 & bull Using Array Variables 147 Chapter 8 & bull Finding the Objects, Methods, and Properties You Need 171 Part 3 & bull Making Decisions and Using Loops and Functions 197 Chapter 9 & bull Using Built– in Functions 199 Chapter 10 & bull Creating Your Own Functions 235 Chapter 11 & bull Making Decisions in Your Code 255 Chapter 12 & bull Using Loops to Repeat Actions 277 Part 4 & bull Using Message Boxes, Input Boxes, and Dialog Boxes 305 Chapter 13 & bull Getting User Input with Message Boxes and Input Boxes 307 Chapter 14 & bull Creating Simple Custom Dialog Boxes 329 Chapter 15 & bull Creating Complex Forms 399 Part 5 & bull Creating Eff ective Code 449 Chapter 16 & bull Building Modular Code and Using Classes 451 Chapter 17 & bull Debugging Your Code and Handling Errors 481 Chapter 18 & bull Building Well– Behaved Code 511 Chapter 19 & bull Securing Your Code with VBA& rsquo s Security Features 525 Part 6 & bull Programming the Offi ce Applications 547 Chapter 20 & bull Understanding the Word Object Model and Key Objects 549 Chapter 21 & bull Working with Widely Used Objects in Word 877 Chapter 22 & bull Understanding the Excel Object Model and Key Objects 615 Chapter 23 & bull Working with Widely Used Objects in Excel 641 Chapter 24 & bull Understanding the PowerPoint Object Model and Key Objects 879 Chapter 25 & bull Working with Shapes and Running Slide Shows 677 Chapter 26 & bull Understanding the Outlook Object Model and Key Objects 697 Chapter 27 & bull Working with Events in Outlook 719 Chapter 28 & bull Understanding the Access Object Model and Key Objects 739 Chapter 29 & bull Manipulating the Data in an Access Database via VBA 763 Chapter 30 & bull Accessing One Application from Another Application 785 Chapter 31 & bull Programming the Offi ce 2013 Ribbon 813 Appendix & bull Th e Bottom Line 847 Index 889 Richard Mansfield is the author or coauthor of 45 books, including Visual Basic 6 Database Programming For Dummies, Office 2003 Application Development All- in- One Desk Reference For Dummies, How to Do Everything with Second Life, and Programming: A Beginner`s Guide. He is the former editor of Compute! magazine. Overall, his books have sold more than half a million copies worldwide and have been translated into 12 languages.