Skip to Content
Business Solutions VBA for the 2007 Microsoft Office System
book

Business Solutions VBA for the 2007 Microsoft Office System

by Paul McFedries
March 2007
Beginner
432 pages
10h 25m
English
Que

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

Developyour 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  

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Business Solutions VBA and Macros for Microsoft® Office Excel® 2007

    Business Solutions VBA and Macros for Microsoft® Office Excel® 2007

    Bill Jelen, Tracy Syrstad

    Publisher Resources

    ISBN: 9780789736673Purchase book