View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
OverAC[_5_] OverAC[_5_] is offline
external usenet poster
 
Posts: 1
Default Creating 64 new wsheets and naming them in vba


Sub CommandButton1_Click()

Dim counter As Integer

For counter = 3 To 66
Sheets.Add
*Activesheet.Name = counter *<== change
Next counter
End Sub

Hope that help

OverAC


--
OverAC
------------------------------------------------------------------------
OverAC's Profile: http://www.excelforum.com/member.php...o&userid=32396
View this thread: http://www.excelforum.com/showthread...hreadid=521661