How to Automate Downloading Project Web App Files to a Local Folder
Question details
The user needs a way to automate the downloading of approximately 400 published Project Web App files to avoid saving each project individually.

- Product
- Project Web App
- Device & OS
- not provided
- Scenario
- Bulk downloading multiple project files from a web server to a local directory.
- Observed behavior
- Currently, the files must be saved manually one by one, which is highly inefficient for large batches.
Before developing your automation, verify that you have the exact server path, the specific source folder containing the files, and the designated destination folder on your local computer.
Use a VBA Macro for Bulk Downloading
Develop a custom macro script to iterate through the server directory and copy the project files directly to your local folder.
While it is possible to use the built-in macro recorder, it often generates overly complicated and rigid code, especially when dealing with network or web app paths. Writing or adapting a custom VBA script is the most reliable approach for bulk copying from a server.
You will need to utilize network file copying methods or the URLDownloadToFile API function depending on how the Project Web App exposes the file paths.
Open your Microsoft application (such as Excel or Project) and press ALT + F11 to open the Visual Basic for Applications (VBA) Editor.
Right-click on your workbook or project in the Project Explorer pane, select 'Insert', and then click 'Module'.
Write a script declaring your source server path (the folder containing the 400 files) and your local destination path as string variables.
Implement a loop using the FileSystemObject or relevant API to iterate through each project file in the source directory and copy it to the local destination folder.
Press F5 or click 'Run' to execute the macro, then check your local folder to ensure all files have been successfully downloaded.

Looking for a Lighter Office Suite? Try WPS Office
While highly specialized tasks like scraping Project Web App files require specific scripts, managing your daily documents, spreadsheets, and presentations is effortless with WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office for all your local file editing needs.
- 1. Download the Installer: Visit the official WPS website and download the free installer for your operating system.
- 2. Install the Software: Run the setup file and follow the straightforward on-screen instructions to complete the installation.
- 3. Open Your Files: Launch WPS Office and instantly open, edit, and save your local Microsoft Office-compatible files without any subscription fees.

Frequently Asked Questions
Can I use the macro recorder to automate this download process?
Yes, you can theoretically use the macro recorder, but it is generally not recommended for server and web app downloads. It tends to produce unnecessarily complicated and rigid code. Writing a custom VBA script is much more efficient and reliable.
What information is strictly required before creating the bulk download macro?
You must identify three key elements: the exact server path of the Project Web App, the specific source folder where the published files reside, and the exact local destination folder path on your computer.
Is there a built-in button in Project Web App to download all files at once?
No, Project Web App does not natively support a single-click bulk download for hundreds of project files at once. You must rely on automation tools like VBA macros or PowerShell scripts to achieve this efficiently.




