Читать книгу Excel 2019 Power Programming with VBA - Michael Alexander, Dick Kusleika - Страница 94
Removing a VBA module
ОглавлениеYou may want to remove a code module that is no longer needed. To do so, follow these steps:
1 Select the module's name in the Project window.
2 Choose File ➪ Remove xxx, where xxx is the module name. Note that Excel will ask if you want to export the module before removing it. You can click Yes if you want to save the module for backup purposes or for importing into another workbook.
Or you can do the following:
1 Right-click the module's name in the Project window.
2 Choose Remove xxx from the shortcut menu.