I aquired this code to pull in (Sheet1) from another workbook and merge it into my master workbook. Its working but..
The problem is when the tab is pulled in from WB2 it needs to be placed infront of Sheet1, its currently coming in and going to the last tab. How do you bring it in so it is 1st tab? also once it has been pulled into the master file I need to protect this sheet before saving and exit.
Set objExcel = CreateObject("Excel.Application")
objExcel.DisplayAlerts = False
Set objWB1 = objExcel.Workbooks.Open("c:\SOURCE_TAB_Benefits.xlsm")
Set objWB2 = objExcel.Workbooks.Open("c:\BENEFITS_Run.xlsx")
For Each ws In objWB1.Sheets
.DisplayAlerts = True
Set objExcel = Nothing