View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
acw[_2_] acw[_2_] is offline
external usenet poster
 
Posts: 100
Default selecting sheets in vb

Pete

The following will loop through the sheets in the current workbook and show the names. You should be able to use this to determine the list of names you want to delete.

Ton

Sub ccc(
For Each na In ActiveWorkbook.Sheet
MsgBox na.Nam
Next n
End Sub