This has been happening increasingly, when I have a sheets.add or sheets.delete in excel VBA. After searching and searching I finally found the official Microsoft support pa
Yet another Excel/VBA glitch.
When it happens to me when I click a button running a macro:
SHIFT F8
) and then I can let debug run freely as usual (F5
).And so far I don't get this error anymore.
Probably not foolproof either but worth a try.