Thread
:
Add sheets using macro
View Single Post
#
2
Posted to microsoft.public.excel.worksheet.functions
Gert
external usenet poster
Posts: 11
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
Reply With Quote
Gert
View Public Profile
Find all posts by Gert