Need formula that links cell names with corresponding file name in folder

Menlow

New Member
Joined
Mar 3, 2011
Messages
2
I have an excel workbook which contains info on all credit notes we issue a month, the colunms are: Date, Credit Note No., Relating invoice, Amount, Reason and Account. I also have a folder (C:\Documents and Settings\My Documents\Credit Notes) which contains all the credit notes in pdf format which are named by their credit note no. to match the excel sheet. Currently i am manually matching the hyperlinks to the corresponding file, but this is taking up far to much time. I was wondering if their is a formular i could use which would automatically match the cell name with the pdf file and create a hyperlink for each credit note.

Many Thanks
Ben
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi Ben - Welcome to the board :)

You should be able to build a hyperlink with the hyperlink function, for example...

Code:
=HYPERLINK("C:\Documents and Settings\My Documents\Credit Notes"&"\"&B1&".pdf")

Assuming your credit note number is in B1, if not amend to suit :)

Hopefully that makes sense to you...
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top