Mastering VBA for Office 2010

  • 16h 59m
  • Richard Mansfield
  • Sybex
  • 2010

A comprehensive guide to the language used to customize Microsoft Office

Visual Basic for Applications (VBA) is the language used for writing macros, automating Office applications, and creating custom applications in Word, Excel, PowerPoint, Outlook, and Access. This complete guide shows both IT professionals and novice developers how to master VBA in order to customize the entire Office suite for specific business needs.

  • Office 2010 is the leading productivity suite, and the VBA language enables customizations of all the Office programs; this complete guide gives both novice and experienced programmers the knowledge they need to make maximum use of VBA for Office
  • Supported with real-world examples in Word, Excel, PowerPoint, Outlook, and Access, this book offers clear, systematic tutorials with both intermediate and advanced content
  • Covers learning how to work with VBA; recording macros; 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

Mastering VBA for Office 2010 prepares developers to customize all Microsoft Office 2010 applications for the unique needs of their employers.

About the Author

Richard Mansfield is the author or coauthor of more than 40 computer books, including Visual Basic .NET Power Toolkit, Office 2003 Application Development All-in-One Desk Reference For Dummies, 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.

In this Book

  • Introduction
  • 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 Dialog Boxes
  • Building Modular Code and Using Classes
  • Debugging Your Code and Handling Errors
  • Building Well-Behaved Code
  • Securing Your Code with 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 2010 Ribbon
SHOW MORE
FREE ACCESS