Code:
strFilePath = "\\Ykf001\grpdata\PUBLIC\Operations\Converting Schedule\" ' this could also be a constant
strFileName = Dir(strFilePath)
Set wbkOpen = Workbooks.Open(strFilePath & strFileName, False, True)
As you can see I have a variable workbook name, as the only way I can refer to it is knowing its the only excel file in the folder I'm accessing - so this isn't as simple as activating a known workbook name.
As it stands now this portion of the code OPENS the workbook fine - it just won't do anything in the workbook because I think I'm referring to it incorrectly.
Additionally - The sheet name with the data changes:
Currently it says August 29, before it says July 14, its variable but it is always the first sheet. For some reason when the workbook opens though it opens to the second sheet.
I need to activate the first sheet in the workbook I just opened, so that I can copy and paste a range into my "Raw Production Data" workbook.