WorkWeeks Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains a collection of work week defintions.


Parent Elements


Child Elements



Minimum: 0

Maximum: 1


For an example that uses the WorkWeeks element, see Calendar Element

Caution noteCaution

In the releases of Project 2007 through SP1, the WorkWeeks element name is missing when you save a project that has a non-default work week as XML. If you try to open the XML file in Project, you get the error, "An unexpected problem occurred while opening the file. The file may be damaged." The workaround is to edit the XML file and add the WorkWeeks element name, as in the following example. The XML file then opens normally. However, because the WorkWeek element contains other errors, we recommend that you do not use Project XML files to save work week data until the errors are fixed in a later service pack. For more information about editing other elements for work weeks, see the WorkWeek Element.


The following example defines a non-standard work week named Test work week. The WorkWeeks opening and closing element is manually edited.

   . . .
         <Name>Test work week</Name>

See Also


Calendar Elements and XML Structure

XML Schema for the Calendars Element