ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do i delete a macro (https://www.excelbanter.com/excel-programming/380834-how-do-i-delete-macro.html)

Will Fleenor

how do i delete a macro
 
Excel 2003 all sps loaded
OS: Windows XP

I can find the modules that are macros in my Excel workbook by loading the
VBA editor. However, I can not find how to delete these modules. There is
not delete option on the Edit menu (which is grayed out) and there is no
delete option in the right mouse click menu.




Chip Pearson

how do i delete a macro
 
You can delete a module by selecting that module in the Project Window
(CTRL+R) and the on the "File" menu choose "Remove Module1" or whatever your
module is named. You can also right-click on the module in the Project
Window and choose Remove from the popup menu.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"Will Fleenor" wrote in message
...
Excel 2003 all sps loaded
OS: Windows XP

I can find the modules that are macros in my Excel workbook by loading the
VBA editor. However, I can not find how to delete these modules. There
is
not delete option on the Edit menu (which is grayed out) and there is no
delete option in the right mouse click menu.






Don Guillett

how do i delete a macro
 
right clickremoveno

--
Don Guillett
SalesAid Software

"Will Fleenor" wrote in message
...
Excel 2003 all sps loaded
OS: Windows XP

I can find the modules that are macros in my Excel workbook by loading the
VBA editor. However, I can not find how to delete these modules. There
is
not delete option on the Edit menu (which is grayed out) and there is no
delete option in the right mouse click menu.







All times are GMT +1. The time now is 04:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com