I am trying to move a sheet from activeworkbook to a file that is stored in a folder. Any help is greatly appreciated, I have attached the code that i am currently trying to use. I feel that i am over thinking this.
Sub move_sheet()
'Move the active sheet to the end of named Workbook.
'Replace filepath with the full name of the target workbook you want.
Dim filepath As String
filepath = "C:\Users\Nick.Clark\Desktop\Compare.xlsx"
ActiveWorkbook.ActiveSheet.Move After:=Workbooks(filepath).Sheets(Sheets.Count)
End Sub
Sub move_sheet()
'Move the active sheet to the end of named Workbook.
'Replace filepath with the full name of the target workbook you want.
Dim filepath As String
filepath = "C:\Users\Nick.Clark\Desktop\Compare.xlsx"
ActiveWorkbook.ActiveSheet.Move After:=Workbooks(filepath).Sheets(Sheets.Count)
End Sub