View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gert Gert is offline
external usenet poster
 
Posts: 11
Default Add sheets using macro


Try an inputbox (or replace the inputboxline with a fixed name)

Sub SheetInsert()

Dim strNameSheet As String

Sheets.Add
strNameSheet = InputBox("give sheet name")
ActiveSheet.Name = strNameSheet

End Sub