Use the Code view to delete a code from a code file.
Note: Deleting a parent code will also delete its child codes.
-
Display the Code view for the code file that you want to update.
-
In the Code view, select the code that you want to delete.
-
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.
-
Click
Yes to delete the code.
-
Click
on the Quick Access Toolbar to save the changes.