View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default Code to create and name a sheet

Hi Dogfish,

Try:
'=============
Public Sub Tester001()
With ActiveWorkbook
.Sheets.Add after:=Sheets(Sheets.Count)
ActiveSheet.Name = "Summary"
End With
End Sub
'<<=============

---
Regards,
Norman



"dogpigfish" wrote in message
...
What code can I use to create a new sheet and call it "Summary".