kyosu kzlusterdauk
New Member
- Joined
- Sep 23, 2015
- Messages
- 3
Hi,
I have a list of saved file names in descending order (without file type extension)
Column A Column B
File Name Link
A1
A2
A3
A4
etc
I would like to run a macro that searches for files containing the text of the file name (from column A) in a specified directory in windows explorer and then pastes a link to the file in the column (column B) next to the reference file name in excel, going thru the file names one by one. Where no file is located there would be simply a blank in Column B.
I am using Windows 2007 and understand that the application.filesearch function may not be activated and would have to use a findfiles function.
Can anyone help me out with a macro that would achieve this?
I have a list of saved file names in descending order (without file type extension)
Column A Column B
File Name Link
A1
A2
A3
A4
etc
I would like to run a macro that searches for files containing the text of the file name (from column A) in a specified directory in windows explorer and then pastes a link to the file in the column (column B) next to the reference file name in excel, going thru the file names one by one. Where no file is located there would be simply a blank in Column B.
I am using Windows 2007 and understand that the application.filesearch function may not be activated and would have to use a findfiles function.
Can anyone help me out with a macro that would achieve this?