Blueridge227
New Member
- Joined
- Mar 23, 2011
- Messages
- 29
My situation is as follows:
I have a spreadsheet with column A consisting of a bunch of 4 digit numbers(1028, 1056 etc..) The 4 digit numbers are the same as the filenames of several PDFs in a folder on my local drive(C:\Test\).
I'm looking for a VBA that will search through the PDFs in the folder (based on the 4 digit numbers from column A) and place a Hyperlink to the file in Column B
If no match is found, then I need the cell in column B to remain blank(no hyperlink)
Any help would be greatly appreciated!
cheers
I have a spreadsheet with column A consisting of a bunch of 4 digit numbers(1028, 1056 etc..) The 4 digit numbers are the same as the filenames of several PDFs in a folder on my local drive(C:\Test\).
I'm looking for a VBA that will search through the PDFs in the folder (based on the 4 digit numbers from column A) and place a Hyperlink to the file in Column B
If no match is found, then I need the cell in column B to remain blank(no hyperlink)
Any help would be greatly appreciated!
cheers
Last edited: