View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
[email protected] ucanalways@gmail.com is offline
external usenet poster
 
Posts: 115
Default Delete sheet on a condition: debug error

On Nov 13, 12:54 pm, Colby Africa wrote:
Hey there.

What is the desired result?

C


For test1, the desired result would be to delete the sheet that has
the name as 0
For test2, the desired result would be to delete the sheets that has
the index greater thanm 3.

test2 runs quite okay but test1 does not do what I intend to do