Mastering VBA for Microsoft Office 2016
- 19h 25m
- Richard Mansfield
- Sybex
- 2016
Enhance productivity in any Office application with zero programming experience
Mastering VBA for Microsoft Office 2016 helps you extend the capabilities of the entire Office suite using Visual Basic for Applications (VBA). Even if you have no programming experience, you'll be automating routine computing processes quickly using the simple, yet powerful VBA programming language. Clear, systematic tutorials walk beginners through the basics, while intermediate and advanced content guides more experienced users toward efficient solutions. This comprehensive guide starts at the beginning to get you acquainted with VBA so you can start recording macros right away. You'll then build upon that foundation to utilize the full capabilities of the language as you use loops and functions, message boxes, input boxes, and dialog boxes to design your own Office automation program. Add-ins, embedded macros, content controls, and more give you advanced tools to enhance productivity, and all instruction is backed by real-world practice projects in Word, Excel, Outlook, and PowerPoint.
Productivity is the name of the game, and automating certain computing tasks is an easy solution with significant impact for any business. This book shows you how, with step-by-step guidance and expert insight.
- Expand Office 2016 functionality with macros
- Learn how to work with VBA and the entire Office suite
- Create effective code, even with no programing experience
- Understand ActiveX, XML-based files, the developer tab, and more
VBA is designed to be understandable and accessible to beginners, but powerful enough to create specialized business applications. If you're ready to begin exploring the possibilities, Mastering VBA for Microsoft Office 2016 gets you started right away.
About the Author
Richard Mansfield is a best-selling author and a widely recognized expert on computer programming. He has authored or co-authored 46 books, including Programming: A Beginner's Guide, and the best-sellers Machine Language for Beginners, and The Visual Guide to Visual Basic. Overall, his books have sold more than half a million copies worldwide and have been translated into 12 languages.
In this Book
-
Recording and Running Macros in the Office Applications
-
Getting Started with the Visual Basic Editor
-
Editing Recorded Macros
-
Creating Code from Scratch in the Visual Basic Editor
-
Understanding the Essentials of VBA Syntax
-
Working with Variables, Constants, and Enumerations
-
Using Array Variables
-
Finding the Objects, Methods, and Properties You Need
-
Using Built-In Functions
-
Creating Your Own Functions
-
Making Decisions in Your Code
-
Using Loops to Repeat Actions
-
Getting User Input with Message Boxes and Input Boxes
-
Creating Simple Custom Dialog Boxes
-
Creating Complex Forms
-
Building Modular Code and Using Classes
-
Debugging Your Code and Handling Errors
-
Building Well-Behaved Code
-
Exploring VBA's Security Features
-
Understanding the Word Object Model and Key Objects
-
Working with Widely Used Objects in Word
-
Understanding the Excel Object Model and Key Objects
-
Working with Widely Used Objects in Excel
-
Understanding the PowerPoint Object Model and Key Objects
-
Working with Shapes and Running Slide Shows
-
Understanding the Outlook Object Model and Key Objects
-
Working with Events in Outlook
-
Understanding the Access Object Model and Key Objects
-
Manipulating the Data in an Access Database via VBA
-
Accessing One Application from Another Application
-
Programming the Office 2016 Ribbon