View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John[_80_] John[_80_] is offline
external usenet poster
 
Posts: 7
Default Add/Delete Worksheets and Reset Numbering

I add sheet2, sheet3, and sheet4 to the current workbook.
Then I delete these new sheets. If I execute the following code:

----------------------
Dim a As Integer

For a = 1 To 10
Sheets.Add
Next a
----------------------

The sheets don't start at Sheet2, like I thought they would. Does
someone have the code handy to "wipe out" the remberance of sheets
that existed but are now deleted.

Thanks
John