Go to the VBE and remove the whole Module (not just the macro code)
I'm about to show how new I am to Excel. But how do I get the VBE and delete the Module.
(Sorry, very new to all this)
Right click on a sheet tab and select View code.
On the right hand side of the window that appears, there should be a sention headed "Project-VBA Project" (if mot, go to View>ProjectExplorer).
Expand "Modules" (under the appropriate VBA Project), right click on each Module and select "RemoveModule".
I'm about to show how new I am to Excel. But how do I get the VBE and delete the Module.
I got bit by this one. After I created a trial macro and it didn't work, I deleted it from TOOLS/MACRO, highlited the macro and selected delete. The macro was gone, but ever after I got a message when opening the workbook aasking whether to enable or disable macros. This is a security issue and can be defeated by unchecking the TOOLS/OPTIONS/GENERAL Macro Virus Protection Checkbox. This can be dangerous, however, with all the viruses in circulation.
Phil