I have added a new sheet using ActiveWorkbook.Sheets.Add After:=ActiveSheet but cannot find the method of naming the new sheet.
Can someone please help
I have added a new sheet using ActiveWorkbook.Sheets.Add After:=ActiveSheet but cannot find the method of naming the new sheet.
Can someone please help
Last edited by DaveE; 05-18-2009 at 08:48 PM.
The new sheet becomes the active sheet, so
Please be mindful of using code tags.![]()
activesheet.name = "Bob"
Entia non sunt multiplicanda sine necessitate
Hi
Try this
rylo![]()
With ActiveWorkbook.Sheets.Add(After:=ActiveSheet) .Name = "yourname" End With
Thanks for your help
You have done in two minutes what I couldn't find in two hours
Thanks again
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks