View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Chaz Chaz is offline
external usenet poster
 
Posts: 12
Default Naming Worksheets

I have a macro that creates and names a worksheet each time it is run.
However, if you have already run the macro and have not deleted the worksheet
before running the macro again, the macro returns an error - Cannot rename a
sheet to the same name as another sheet. What is the best way to handle this
error?

Thanks in advance