Export MS Project to HTML
A small application to export MS Project plans to easy to use (IMHO) HTML.
Do you like the default HTML to which MS Project exports schedule? I
hate it. I wrote a small application to export the data to an html file
like how I like it. I use MS Project as a manager and as an employee.
As a manager, I want to see how well the execution is coming along. As
an employee, I really want to see what I should be doing when; and what
I should be getting ready to be doing.
I believe the template I’ve come up with answers these questions. Here
is the
sample
output file. Let us see how the
sample looks and how different sections help me.
-
Quick
Summary: This section gives
you basic information about the project.
More importantly, it tells you how much of the work is completed.
- How are milestones coming
along? This section gives you
a quick overview of milestones missed, met and planned. Each of these
can be selectively turned off. I usually add a milestone task at the
end of each significant summary task. Old habit!
- Quick filtering:
At the moment, filtering is available only for resources.
Filtered tasks can be highlighted (as shown). Otherwise, you can choose
to simply hide the tasks that are not filtered. This helps in reducing
the clutter, if the plan is very long.
- Expand and collapse
summary tasks: Yes, you can
click on "+" or "-" to manipulate summary tasks.
- Flag tasks:
If you are candid, you can choose to add flags for tasks that are late,
should have been started, that are getting near to expected completion
date etc.
- All milestone tasks are
shown in green and all tasks in the critical path are shown in brown.
The UI is very simple. You just need to have MS Project and Internet
Explorer installed in your machine. Here’s how the UI looks
like:
Download and Installation
- "right click - save as"
in your browser to save the file mpp2html.hta (32KB)
to your PC.
- When you want to export MS Project files, just double-click
the saved file.
- Use the Browse button to locate your MS Project file. Adjust
other options, if you want to. And click export.
- Use this at your own risk. This software is free for use and modification; as in free beer. If you re-distribute it, I will be happy if you leave a short acknowledgement towards this site.
- This was fixed on May 30, 2005. One TODO item I want to implement as soon as possible is that this application does not close an already running MS Project and an already open Project file. Note that this currently does automatic closing, without saving any open files. So, if you are editing files in MS Project, make sure you save those and close MS Project before running this application.
Development Notes
- I originally wrote this in
Ruby, as part of a fun project to make MPP files exported to MySQL,
with a web interface that people can use to update the plan.
- Quite a few of my friends
liked the interface of that and expressed interest in getting the
template. It might not have been possible for them to install Ruby. So,
I decided to re-implement the export part in a Microsoft friendly
technology.
- Originally, I thought of
writing this in VBA and putting this as a macro inside MS Project.
However, I can’t really enjoy myself, when I use VB. So, I decided to
use plain Javascript and then package the UI using HTA (HTML
applications). This way, all you need to do is to download the HTA and
save it somewhere.
- These days, I’ve just one PC at home. I’ve tested the generated HTML in
that one on the latest versions of Mozilla Firefox and IE. In some older versions available at a cyber cafe, the filter for hiding/highlighting seems to need 2 extra clicks to work
-
Notes on HTML philosophy: The output could definitely be made better with graphics. However, I wanted it so that people could easily e-mail the generated HTML without having to
worry about any dependent files. At the moment, HTML file is all
self-contained. You simply need to e-mail one file and that is it.
Hope you find this useful. There are some known bugs and things I want
to enhance. I don’t think these are anything major. Please see the
source
code for the downloaded file for my TODO list.
If you have feedback and suggestions, please e-mail me. Note that I
wrote
this because I started getting bored during my vacation. I am back to
work
next week, so my free time will quickly disappear
Update: 25 October 2005
- Added an extra filter to hide or highlight incomplete tasks.
- Added an extra option to not export completed tasks.
- If you’ve HTML Tidy installed, you can put tidy.exe in the path and set a flag in the file called USE_TIDY to 1 to clean up the generated HTML.
For first two enhancements, thanks are due to Ms. Kathy Adams, PMP of The Nature Conservancy, for the feedback.
Update: 28 October 2005
Posted: May 28, 2005 03:45 PM
project_management