Using the Name of the sheet Not the Codename, I'm trying to make an update/Import kind of routine. Copy from Source (wb_From.sheet) and paste into Target (wb_To.sheet) with the same Name. My code is locating each tab name in the Target BUT not Finding the same sheet name in the source (with different Codename). Any Suggestions?
Dim WB_To as String 'Target - WB to copy into
Dim WB_From as String 'Source- WB to copy from
For x = 1 To Workbooks(WB_To).Worksheets.Count
'Select Target sheet
Workbooks(WB_To). Sheets(x).Activate
tabName = Sheets(x).Name
'activate Source WB with same tab name
Workbooks(WB_From).Sheets(tabName).Activate