Hi. I have data in multiple workbooks in a folder with the same template and I need to extract those circled data into one master workbook as below
I have a code to loop thru all the workbooks in the folder but I do not know how to do the data copying/extracting. Thank you for any help!.
VBA Code:
Sub LoopAllFilesInAFolder()
'Loop through all files in a folder
Dim fileName As Variant
fileName = Dir("C:\Users\Student\Documents\6004*")
While fileName <> ""
'Insert the actions to be performed on each file
Wend
End Sub