How to Automatically Link Microsoft Project Dates to Excel
Question details
Establish a live link between Microsoft Project and Excel so that start dates, finish dates, and durations update automatically in Excel without manual exporting or coding.

- Product
- Microsoft Project, Microsoft Excel
- Device & OS
- not provided
- Scenario
- Users want to keep project timelines synchronized between Microsoft Project and an Excel spreadsheet automatically.
- Observed behavior
- Microsoft Project lacks a native live-sync feature for Excel; standard exports result in static data that does not update automatically.
Ensure you have both Microsoft Project and Microsoft Excel installed, and verify that your macro security settings allow the execution of VBA scripts if you choose the macro-based workaround.
Set Up an Event-Triggered VBA Macro in Microsoft Project
Since there is no native live link, using a VBA macro that runs when the Project file closes is the most effective workaround to keep Excel updated automatically.
Microsoft Project does not offer a direct live-link feature to Excel. To achieve automatic synchronization, you must set up an event-driven macro within MS Project that pushes the updated dates and durations to your Excel file whenever you close the project.
Launch Microsoft Project, open your project file, and press ALT + F11 to open the Visual Basic for Applications (VBA) editor.
In the Project Explorer pane on the left, double-click 'ThisProject' to open the code window. Select 'Project' from the left dropdown and 'BeforeClose' from the right dropdown to create the event trigger.
Insert your VBA code to open the target Excel workbook in the background, locate the appropriate cells, and copy the start dates, finish dates, and durations from your MS Project fields.
Save your Project file in a macro-enabled format. Close the file to trigger the macro and verify that your Excel spreadsheet receives the updated data.

Create an Automation Workflow with Power Automate
For a no-code alternative, you can use Microsoft Power Automate to schedule regular data transfers between Project for the Web and Excel Online.
Manage Your Project Timelines Easily with WPS Office
Connecting Microsoft Project to Excel often requires complex macros or external automation. WPS Spreadsheet offers a lightweight, highly compatible environment where you can build powerful project trackers and Gantt charts directly, without the syncing hassle.
- 1. Download WPS Office: Download and install the free version of WPS Office from the official website.
- 2. Open a Project Template: Launch WPS Spreadsheet, navigate to the template library, and search for 'Project Management' or 'Gantt Chart'.
- 3. Track Dates Easily: Enter your project start dates, finish dates, and durations directly into the spreadsheet to visually track your timeline without needing external syncing tools.

Frequently Asked Questions
Can I link Microsoft Project to Excel natively without using VBA?
Natively, Microsoft Project does not support live, automatic syncing with Excel without using VBA macros. You must either manually export the data or use external automation tools like Microsoft Power Automate.
Why don't my exported Project dates update in Excel automatically?
When you perform a standard export from Microsoft Project to Excel, the data transferred is static. To keep the information updated dynamically, you must establish an event-triggered macro or a scheduled automation workflow.
Does WPS Spreadsheet support Excel macros for automation?
Yes, WPS Spreadsheet supports VBA macros, allowing you to run existing Microsoft Excel scripts or create new ones to automate your data transfer and project tracking tasks.




