I need help with the line moving sheet to another workbook and inserting after a specific tab. The worksheet is updated weekly and the tab names are created for each week (see last line). The name of the previous week is kept in cell ba12. I need the sheet to insert after the previous weeks report.
Dim prsheet As String
prsheet = [ba11]
Sheets("Weekly Rpt").Select
'error occurs on next line?????
Sheets("Weekly Rpt").Copy After:=Sheets(prsheet)
Sheets("Weekly Rpt").Select
Sheets("Weekly Rpt").Name = InputBox("Please rename this weeks sheet (Format - WE mm.dd.yy)")
Dim prsheet As String
prsheet = [ba11]
Sheets("Weekly Rpt").Select
'error occurs on next line?????
Sheets("Weekly Rpt").Copy After:=Sheets(prsheet)
Sheets("Weekly Rpt").Select
Sheets("Weekly Rpt").Name = InputBox("Please rename this weeks sheet (Format - WE mm.dd.yy)")