Unfortunately what it does is make a new sheet, not just rename the active one.
Is there any way to add renaming the sheet to this macro?
All of my sheet names are numbered 1-100, this macro creates a page from a template, adds a row to my table and now all I need to do is make it rename the page after the new row, which in this case would have "101" as a name.
Sub AddRow_CopySheet_Rename()
Application.ScreenUpdating = False
Dim Sheet2 As Variant
Set Sheet2 = Worksheets("Template")
Sheet2.Visible = True
Dim CellX As Range
Set CellX = ActiveCell
ActiveWorkbook.Sheets(1).Activate
Range("Table2").Select
Selection.ListObject.ListRows.Add AlwaysInsert:=True
Range("InsertSection").Select
Dim WS As Worksheet, WB As Workbook
Set WB = ActiveWorkbook
Set WS = WB.Sheets("Template")
WS.Copy After:=Sheets(WB.Sheets.Count)
Application.Goto CellX
Sheet2.Visible = False
Application.ScreenUpdating = True
End Sub
Thanks for your help Alan. I really appreciate it. 
Right now my new sheet is called "Template (2)".
I would like it to be named 101 in this case.
Then the next sheet when I run the macro would be 102.
Bookmarks