View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Arran Arran is offline
external usenet poster
 
Posts: 50
Default Skip Run macro if module has been deleted

Hi to all,

I have a problem, I have a workbook that has a macro in it that has the
following code:
Else
Run "saveme"
Cancel = True
End If
This works fine but I have another macro that deletes the module that the
"saveme" macro is in.

Is there a way for the above code to be skipped if the module has been
deleted?

Thanks in advance.