Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Create WBS codes in Project desktop

Work breakdown structure (WBS) codes are outline numbers that you can apply to tasks and edit to match the specific needs of your business. Project automatically provides basic outline numbers for each task, but you can apply your own customized outline scheme to the project at any time.

What do you want to do?

Create custom WBS codes

  1. Click View, and then pick a sheet view, such as the Task Sheet or Resource Sheet.

  2. Click Project. In the Properties group, click WBS and then click Define Code.

    Image of Define Code option of WBS button.

  3. You can create a project-specific code in the Project Code Prefix box. You can use numbers, uppercase and lowercase letters, and symbols.

WBS Code Definition dialog box image

  1. To set the code for first-level tasks, in the first row in the Sequence column, choose a character type from the drop-down list. You can choose from numbers, uppercase or lowercase letters, or a mix of numbers, letters, and other symbols.

  2. In the Length column, set the number of characters for each level of the code string. Click Any to allow any number of characters for that level.

  3. In the Separator column, pick a character to separate the code for one level from the code for the next level.

    The default separator is a period. You can choose others or choose not to have a separator character at all.

    Note: The separator character can’t also be used as part of a code.

  4. Set a code string for each level of indented tasks in your outline.

    To specify individual codes for each level, click the next row, and complete the Sequence, Length, and Separator columns.

  5. If you don't want Project to automatically assign a WBS code each time that you enter a new task, uncheck the Generate WBS code for new task check box.

  6. To permit the use of the same WBS code for multiple tasks, uncheck the Verify uniqueness of new WBS codes check box.

Renumber WBS codes

When you move or delete tasks, Project doesn’t automatically renumber the WBS codes in case you’re using them in documents or other systems that are not linked to your Project file. This means that the codes for the remaining tasks will likely be incorrect. Here’s how to renumber the WBS codes for all tasks or selected tasks:

  1. Click View, and then pick a sheet view (such as the Task Sheet) that contains the tasks you want to renumber.

  2. Pick the tasks you want to renumber. The first task you pick will not be renumbered.

    To renumber WBS codes for all tasks, don't select any tasks.

  3. Click Project. In the Properties group, click WBS and then click Renumber.

    Image of Project tab, WBS button, Renumber command in drop-down menu.

  4. Click Selected tasks to renumber the codes for the tasks you selected.

    Click Entire project to renumber the codes for all tasks in the project.

    WBS Renumber dialog box image

Use basic outline numbers

If you don’t need the detailed structure provided by WBS codes, you can use a basic outline.

Project automatically creates an outline number for each task, based on where the task appears in the structure of the task list. For example, the first task in your task list is numbered 1. If that task has three subtasks, the subtasks are numbered 1.1, 1.2, and 1.3.

Outline numbers consist of numbers only, and you can’t edit them. They change automatically when you move a task up or down in the task list and when you indent or outdent tasks.

To show outline numbers, add the Outline Number field to a table or sheet view. You can also add outline numbers directly to the task names:

  1. Go to the Gantt Chart or Task Sheet.

  2. Click Format, and then in the Show/Hide group, check Outline Number.

Top of Page

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×