Pub. Date:
Mastering VBA for Microsoft Office 2013 / Edition 2

Mastering VBA for Microsoft Office 2013 / Edition 2

by Richard Mansfield


View All Available Formats & Editions
Current price is , Original price is $49.99. You
Select a Purchase Option
  • purchase options
    $30.43 $49.99 Save 39% Current price is $30.43, Original price is $49.99. You Save 39%.
  • purchase options
    $25.42 $49.99 Save 49% Current price is $25.42, Original price is $49.99. You Save 49%.
    Note: Access code and/or supplemental material are not guaranteed to be included with textbook rental or used textbook.
  • purchase options


Mastering VBA for Microsoft Office 2013 / Edition 2

A unique, comprehensive guide to creating custom apps withVBA

Automating computing tasks to increase productivity is a goalfor businesses of all sizes. Visual Basic for Applications (VBA) isa version of Visual Basic designed to be easily understandable fornovice programmers, but still powerful enough for IT professionalswho need to create specialized business applications. With thisinvaluable book, you'll learn how to extend the capabilities ofOffice 2013 applications with VBA programming and use it forwriting macros, automating Office applications, and creating customapplications in Word, Excel, PowerPoint, Outlook, and Access.

  • Covers the basics of VBA in clear, systematic tutorials andincludes intermediate and advanced content for experienced VBdevelopers
  • Explores recording macros and getting started with VBA;learning how to work with VBA; using loops and functions; usingmessage boxes, input boxes, and dialog boxes; creating effectivecode; XML-based files, ActiveX, the developer tab, contentcontrols, 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 mandatoryreading.

Product Details

ISBN-13: 9781118695128
Publisher: Wiley
Publication date: 08/26/2013
Pages: 960
Sales rank: 791,345
Product dimensions: 7.30(w) x 9.20(h) x 2.10(d)

About the Author

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.

Table of Contents

Introduction xxix

Part 1 • Recording Macros and Getting Started with VBA1

Chapter 1 • Recording and Running Macros in the OfficeApplications 3

Chapter 2 • Getting Started with the Visual Basic Editor31

Chapter 3 • Editing Recorded Macros 65

Chapter 4 • Creating Code from Scratch in the Visual BasicEditor 87

Part 2 • Learning How to Work with VBA 107

Chapter 5 • Understanding the Essentials of VBA Syntax109

Chapter 6 • Working with Variables, Constants, andEnumerations 125

Chapter 7 • Using Array Variables 147

Chapter 8 • Finding the Objects, Methods, and PropertiesYou Need 171

Part 3 • Making Decisions and Using Loops and Functions197

Chapter 9 • Using Built-in Functions 199

Chapter 10 • Creating Your Own Functions 235

Chapter 11 • Making Decisions in Your Code 255

Chapter 12 • Using Loops to Repeat Actions 277

Part 4 • Using Message Boxes, Input Boxes, and DialogBoxes 305

Chapter 13 • Getting User Input with Message Boxes andInput Boxes 307

Chapter 14 • Creating Simple Custom Dialog Boxes 329

Chapter 15 • Creating Complex Forms 399

Part 5 • Creating Eff ective Code 449

Chapter 16 • Building Modular Code and Using Classes451

Chapter 17 • Debugging Your Code and Handling Errors481

Chapter 18 • Building Well-Behaved Code 511

Chapter 19 • Securing Your Code with VBA’s SecurityFeatures 525

Part 6 • Programming the Offi ce Applications547

Chapter 20 • Understanding the Word Object Model and KeyObjects 549

Chapter 21 • Working with Widely Used Objects in Word877

Chapter 22 • Understanding the Excel Object Model and KeyObjects 615

Chapter 23 • Working with Widely Used Objects in Excel641

Chapter 24 • Understanding the PowerPoint Object Model andKey Objects 879

Chapter 25 • Working with Shapes and Running Slide Shows677

Chapter 26 • Understanding the Outlook Object Model andKey Objects 697

Chapter 27 • Working with Events in Outlook 719

Chapter 28 • Understanding the Access Object Model and KeyObjects 739

Chapter 29 • Manipulating the Data in an Access Databasevia VBA 763

Chapter 30 • Accessing One Application from AnotherApplication 785

Chapter 31 • Programming the Offi ce 2013 Ribbon 813

Appendix • The Bottom Line 847

Index 889

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews