Skip to Content
Project 2010 Bible
book

Project 2010 Bible

by Elaine Marmel
June 2010
Intermediate to advanced
864 pages
18h 32m
English
Wiley
Content preview from Project 2010 Bible

Chapter 17. Using Macros to Speed Your Work

IN THIS CHAPTER

  • Using macros

  • Recording macros

  • Running macros

  • Using shortcuts to run macros

  • Using VBA to create a filter to see critical tasks and resource assignments

Macros are small programs that carry out repetitive tasks you perform frequently. You may have used macros in a word-processing program. Macros work the same way in Project as they do in your word processor.

Don't let the word program in the preceding paragraph deter you from getting to know macros. Although you can work with the macro programming code, Project provides an easier way for you to write a macro, which I present in this chapter.

In addition to recording a macro, you can produce even more powerful automation by writing your own Visual Basic for Applications, or VBA, code. This chapter shows you how to write VBA code to filter all tasks on the project's critical path that should have finished by the current date, but have not. This example of VBA code is not intended to be a comprehensive VBA reference guide for Project. Instead, its purpose is to introduce you to many concepts of automating Project and to help you get your feet wet in the world of writing custom code.

Using Macros

Macros are most useful when you need to perform any repetitive task. In particular, you can use Project macros to do the following:

  • Display frequently used tables

  • Display frequently used views

  • Switch to a custom view

  • Generate standard reports

As you become comfortable using Project, you'll identify ...

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

Microsoft® Project 2007 Bible

Microsoft® Project 2007 Bible

Elaine Marmel
Microsoft® Project 2010 Inside Out

Microsoft® Project 2010 Inside Out

Teresa S. Stover, Bonnie Biafore, and Andreea Marinescu

Publisher Resources

ISBN: 9780470501313Purchase book