Hi,
I am trying to run a macro on several different workbooks that don't have consistent filenames.
I have a master folder
H:\SubjectData\
which then has a subject folder
AO223\
which then contains 4 spreadsheets.
I have been able to do this before by typing in the path and filename into the spreadsheet, but I have 25 subject folders (so25*4 spreadsheets) in total that i want to run the macro over so trying to avoid having to type in each workbook filename!
Any help is much appreciated (trying to do things way above my VBA skill level!!)
I am trying to run a macro on several different workbooks that don't have consistent filenames.
I have a master folder
H:\SubjectData\
which then has a subject folder
AO223\
which then contains 4 spreadsheets.
I have been able to do this before by typing in the path and filename into the spreadsheet, but I have 25 subject folders (so25*4 spreadsheets) in total that i want to run the macro over so trying to avoid having to type in each workbook filename!
Any help is much appreciated (trying to do things way above my VBA skill level!!)