Back to ArticlesBack

Join 50,000+ PM Professionals

Get expert PM insights, PMP prep tips, and earn PDUs with exclusive content delivered weekly.

MPUG

Project Management technology should never be more complicated then managing a project! Did you know that using macros can enhance the efficiency of Microsoft Project significantly? Of course, the thought of writing and recording macros to meet your unique needs can often prove challenging to those of us who are not technical programmers. I’d like to suggest that the average business user can easily customize Microsoft Project with macros to maximize its value.

Record a Macro

Macros help you to automate tasks that may be tedious and time consuming, while also reducing the potential for errors. We’ll use a simple example to demonstrate how this works – the creation and printing of a status report that shows all completed tasks in your project.

When preparing this report manually, follow these steps:

  1. Apply the Gantt Chart view to your project.
  2. From the View tab in the ribbon, click the Filter dropdown list, and then select Completed Tasks.

3. Print the displayed list of completed tasks:
– From the File menu, click Print.
– Customize the printed view by clicking Page Setup, modifying the layout as follows, and then clicking Print.

4. To remove the applied filter, change the Completed Tasks filter to [No Filter].

Now it’s time to automate the four steps above.  From the View menu, click Macros > Record Macro.

In the Record Macro dialog, name your macro: PrintCompletedTasks, and click OK. Note that once you click OK, all following steps will be recorded until you click Macros > Stop Recording.

Run through Steps 1 – 4 above, following the process you manually use to create and print this report. Then click Macros > Stop Recording.

Assign a Macro to a Button in the Ribbon

Adding a button to the Microsoft Project Ribbon to initiate this macro ensures that creating your report is as simple as clicking a button.

  1. Right-click in the ribbon area, and select Customize the Ribbon.
  2. In the left column of the Project Options dialog, select the recently created macro and move it to the right column (select your preferred location there) by clicking Add.
  3. Once the macro has been added to the ribbon, you can select it and click Rename… to provide a more user-friendly name and associated icon.

4. Click OK and you will see your new macro.  Simply click the Print Completed Tasks button and print your report.

I will dive deeper into this topic in my upcoming three-part course, Exploring VBA: Microsoft Project’s Macro Language. We’ll cover how to effectively use Microsoft Project’s macro capabilities for various tasks.

Get Weekly PM Insights

Join 50,000+ PMs receiving updates on the latest PM methodologies, PDU opportunities, tool reviews, career tips, and member exclusives.

PMI ATP
PMI Authorized Training Partner
REP #4082

Learning Paths

PMP® TrainingCAPM® TrainingPgMP® TrainingPMI-ACP® TrainingMS ProjectMS PlannerMS TeamsJira

PM Resources

PDU TrackerLive WebinarsSalary CalculatorTool ComparisonsJob BoardKnowledge BasePM Glossary

Community

Discussion ForumStudy GroupsEvents Calendar

Follow Us

LinkedInYouTubeTwitterFacebook
MPUG Logo

© 2026 MPUG. All rights reserved.

TermsPrivacySitemap
Articles

Streamline Project Reporting with Microsoft Project Macros

Project Management technology should never be more complicated then managing a project! Did you know that using macros can enhance the efficiency of Microsoft Project significantly? Of course, the thought […]

2 min read
•over 4 years ago•Updated 4 days ago•
I
Ira BrownAuthor
Project Management
Microsoft Project
Best Practices
Productivity
I
Ira Brown

Content Writer

Ira Brown is a leader in the field of project management and a recognized Microsoft Project expert, Project Widgets is well-known for offering add-on products for Microsoft Project and Project Online, as well as for creating custom solutions that meet their client's unique business requirements.  This company continues to extend the scope and breadth of their offerings, thereby increasing the value they provide to customers, by creating Microsoft Project solutions that are tailored to an organization's unique needs.  They even have several free, downloadable widgets available on their website that you can begin using right away.

View all articles by Ira Brown
Related Content

Continue Reading

Discover more insights and articles that complement your current reading

How Reserves Keep Projects Alive
Articles
4 min read

How Reserves Keep Projects Alive

Learn how project reserves protect your budget and schedule from unexpected risks, including when and how to use contingency, management, schedule, and cost reserves effectively.

R
Ronald B. Smith, MBA, PMP
about 13 hours ago
Read
Why Platform Migrations Fail (And How to Land Yours Successfully)
Articles
4 min read

Why Platform Migrations Fail (And How to Land Yours Successfully)

Learn why platform migrations fail and how to land yours successfully using proven change management tactics for PMOs facing tool transitions like Project Online’s retirement.

T
The MPUG Community
3 days ago
Read
Beyond Project Online: Why Now Is the Time to Plan Your Move to Modern Portfolio Management and How We Can Help
Articles
5 min read

Beyond Project Online: Why Now Is the Time to Plan Your Move to Modern Portfolio Management and How We Can Help

Microsoft Project Online retires September 2026. Learn why now is the time to plan your transition to modern portfolio management and join our free webinar on January 28.

T
The MPUG Community
14 days ago
Explore All Articles
Read