Hey guys. So I set up a code to mine data out of multiple workbooks. I pull the data from each workbook and put it into a new sheet within a single workbook. I then take the data and create a summary with all the data from all worksheets in a single table on one worksheet. I need to be able to use the number out of the worksheet titles as the header for each dataset in the table.
Worksheet titles are as follows:
HK284_SD_Depth_of_Focus
HK293_SD_Depth_of_Focus
HK226_SD_Depth_of_Focus ... etc
I hope this makes sense. the only part I need help with is getting the 3 digit number from the worksheet name into a stored value in VB.
Thanks!