VBA novice here.
I recorded the included code to copy a worksheet from the source workbook and paste it into a sheet of another open workbook.
It works but what I was attempting to do is; trigger macro copy worksheet open destination workbook paste data close origin workbook end on destination workbook but different worksheet.
Sub Button5_Click()
'export data to template
Sheets("DataSet").Select 'sheet that I want to copy and paste (resides in macro workbook)
Cells.Select
Selection.Copy
Windows("Missing Data Template (concept1).xlsx").Activate 'destination workbook (no macros)
Sheets("Report").Select 'destination worksheet
Cells.Select
ActiveSheet.Paste
End Sub
Thanks for some education!