×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

VBA for the 2007 Microsoft Office System
  • Alternative view 1 of VBA for the 2007 Microsoft Office System
  • Alternative view 2 of VBA for the 2007 Microsoft Office System
     

VBA for the 2007 Microsoft Office System

3.0 4
by Paul McFedries
 

See All Formats & Editions

“VBA for the 2007 Microsoft Office System is jam-packed with code samples that you’ll be able to reuse right away in your VBA projects.”

—Guy Barrette, Microsoft MVP & Regional Director, .NET Expertise

Develop your VBA expertise instantly with proven techniques

VBA for the 2007 Microsoft®

Overview

“VBA for the 2007 Microsoft Office System is jam-packed with code samples that you’ll be able to reuse right away in your VBA projects.”

—Guy Barrette, Microsoft MVP & Regional Director, .NET Expertise

Develop your VBA expertise instantly with proven techniques

VBA for the 2007 Microsoft® Office System shows you how to take full advantage of the 2007 Microsoft Office suite by automating routine Office tasks. No matter which Office application you’re using, there are some tasks you perform dozens of times, such as typing a section of text, running a series of menu commands, or formatting a document in a particular way.This book shows you how to accomplish the same tasks by incorporating them into a macro that you can run with just a few mouse clicks or keystrokes. This book shows you the basics of VBA programming from the ground up. Even if you’ve never programmed before, VBA for the 2007 Microsoft® Office System will have you up to speed with VBA in no time.You’ll learn how to write programs that control Word, Excel, PowerPoint, Access databases, and even Outlook email.You get dozens of example macros that not only illustrate the concepts in the book but also provide you with practical, business-oriented tools that you can use right away to improve your productivity.

  • Practical, real-world examples for anyone who uses Office applications—not just power users.
  • Automate or streamline all your repetitive Word, Excel, and PowerPoint chores.
  • Create custom dialog boxes and custom Ribbon tabs, groups, and buttons to make Office look and work the way you want it to—no program experience required!
  • Easy-to-understand instructions that make learning VBA fast and fun.
  • All code examples and documents are available online so you can get started with VBA with a minimum of fuss.

  • Automate Routine Tasks
  • Control Word, Excel,
  • and PowerPoint
  • Program Access Databases
  • Automate Document Backups
  • Create Advanced Email Rules
  • Build Custom Dialog Boxes
  • Customize the Office 2007
  • Ribbon
  • Access the Registry
  • Troubleshoot Macro Problems
  • Control Macro Security

Introduction

I Getting Started with VBA

1 Creating and Running Recorded Macros

2 Writing Your Own Macros

3 Understanding Program Variables

4 Building VBA Expressions

5 Working with Objects

6 Controlling Your VBA Code

II Putting VBA to Work

7 Programming Word

8 Programming Excel

9 Programming PowerPoint

10 Programming Access Databases

11 Programming Outlook Email

III Getting the Most Out of VBA

12 Creating Custom VBA Dialog Boxes

13 Customizing the Office 2007 Ribbon

14 VBA Tips and Techniques

15 Trapping Program Errors

16 Debugging VBA Procedures

IV Appendixes

A VBA Statements

B VBA Functions

Index

Product Details

ISBN-13:
9780789736673
Publisher:
Que
Publication date:
04/13/2007
Series:
Business Solutions Series
Pages:
432
Product dimensions:
7.00(w) x 9.00(h) x 0.90(d)

Meet the Author

Paul McFedries is well-known as a teacher of Office, Windows, and programming, particularly VBA. He is the president of Logophilia Limited, a technical writing company. Paul started programming when he was a teenager in the mid-1970s and has worked with everything from mainframes to desktops to bar code scanners. He has programmed in many different languages, including Fortran, assembly language, C++, Java, JavaScript, Visual Basic, and VBScript. He has been writing programs for PCs for more than 25 years, and has been developing VBA applications since Microsoft first added VBA to the Office suite in 1994. Now primarily a writer, Paul has written more than 50 books that have sold more than three million copies worldwide. These books include Access 2007 Forms, Reports, and Queries (Que, 2007), Formulas and Functions with Excel 2007 (Que, 2007), Tricks of the Office 2007 Gurus (Que, 2007), and Windows Vista Unleashed (Sams, 2006).

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

VBA for the 2007 Microsoft Office System 3 out of 5 based on 0 ratings. 4 reviews.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Guest More than 1 year ago
I have a nagging feeling that for some readers, this book will be their first ever on programming. Perhaps they are heavy Microsoft Office users, and are frustrated by constantly doing repetitive tasks, and want a way to automate these. That is the main motivation for the text. If this describes you, then McFedries' narrative is a gentle introduction to the overall field of programming. The VBA borrows from its original Basic the characteristic of being easy to understand and code. As you go through the text, you get introduced to key programming ideas, common to all languages. Like using for loops, where a control element iterates over a collection. Then there is the while command for conditional execution only once. Well, VBA calls it the do while command, but more generally, programmers just think of it as while. The book also introduces you to elementary graphics programming. There are various form controls which are graphical elements that you can cause to popup when the user does certain actions. These give rise to event handling issues, which are true of most graphics coding. Microsoft has built an extensive framework within its Office suite so that you can easily code these objects.