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.
- How to run a macro in excel - Guide
- How to copy macro from one workbook to another - Guide
- Run Macros in Excel: online, shortcuts, VBA - Guide
- Macro for number to words in excel - Guide
- You have a workbook with multiple worksheets and want an exact copy of one of the worksheets ✓ - Excel Forum
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