Delete a Code

Use the Code view to delete a code from a code file.

Note: Deleting a parent code will also delete its child codes.

To delete a code:

  1. Display the Code view for the code file that you want to update.
  2. In the Code view, select the code that you want to delete.
  3. In the Tasks group on the Edit tab, click Delete to delete the selected code. A dialog box displays asking you if you want to delete the selected code.
    Note: You can also right-click the code that you want to delete and select Delete on the shortcut menu.
  4. Click Yes to delete the code.
  5. Click on the Quick Access Toolbar to save the changes.