Macro that kills a macro when a new workbook is opened.
Solved/Closed
Related:
- Macro that kills a macro when a new workbook is opened.
- Spell number in excel without macro - Guide
- Excel macro to create new sheet based on value in cells - Guide
- Macro excel download - Download - Spreadsheets
- Run macro on opening workbook - Guide
- Excel vba assign macro to button programmatically - Guide
1 response
It is telling you that it has accessed a sheet that does not contain the button. Perhaps you can check first to see if the button exists, and if it does, then destroy it!
(Change for your language, but theory still same!):
I have said it once, I will say it again. IT!
(Change for your language, but theory still same!):
if "CommandButton1" != NULL
"CommandButton1".Delete
end if
I have said it once, I will say it again. IT!
Jul 31, 2015 at 11:12 PM
Aug 14, 2015 at 08:17 PM
Aug 14, 2015 at 08:41 PM
Aug 17, 2015 at 04:48 PM