Hello,
I am recieving a "subscript out of range" error while trying to copy a sheet from one workbook to another. If someone could help me out that would be great
thanks
Code
Set wb = Application.Workbooks.Open(ThisWorkbook.Path & "\" & ThisWorkbook.Worksheets("signoffs").Range("A2"))
Set wb2 = Application.Workbooks.Open(ThisWorkbook.Path & "\template")
wb2.Sheets("Template").Select
wb2.Sheets("Template").Copy After:=Workbooks(ThisWorkbook.Path & "\" & ThisWorkbook.Worksheets("signoffs").Range("A2"))
wb2.Close