Hi,
I need to maintain a macro, where I need to delete shapes from the sheet then close it.
My problem is that when the code hits the deletion-part it breaks and shows "Cannot enter break mode now". I can continue the run, and the shapes get deleted, but it ends with "invalid procedure" message and it quits, I cannot debug it after this message.
Originally it was written in an earlier version of excel, I have saved it as xlsm before starting the modification.
I do it like this:
Does anybody any clue what is the problem?
Thank you