leezac
asked on
File Search using File name in Cell
I have a file path located in say B11 and want to be able to search for the file.
1. Search for file using path in B11
The problem is there may be two files and I want the one that has
c:\test\filename.xls or c:\test\filename_revised.x ls
2. If the file found has "revised" I want to open that file
3. Then go to Sheet2 row 4 and copy paste into current workbook on Sheet2 row 4
I have not worked that much with directory searches and need help.
Thanks in advance!!
1. Search for file using path in B11
The problem is there may be two files and I want the one that has
c:\test\filename.xls or c:\test\filename_revised.x
2. If the file found has "revised" I want to open that file
3. Then go to Sheet2 row 4 and copy paste into current workbook on Sheet2 row 4
I have not worked that much with directory searches and need help.
Thanks in advance!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you - looking at now
ASKER
Thanks for help.
Pls check the attached file and just put a value in cell B11 and activate the button on sheet1 check results in sheet2.
Here is the code
Open in new window
gowflow
CopyRev.xls