Inserting cell contents to a hyperlink location

austinquestel

New Member
Joined
Nov 7, 2008
Messages
4
Hi,

I am trying to add hyperlinks to each cell in a column to this directory (C:\Documents and Settings\aenglert.QUESTEL\Desktop\OCRed) where the cell contents are the names of the files.

So cell A1 = US7442200 and I want the hyperlink to lead to the following location: C:\Documents and Settings\aenglert.QUESTEL\Desktop\OCRed\US7442200.pdf

Help PLEASE!

Thanks very much...
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
You could use =Hyperlink function in Excel for instance:

=HYPERLINK(Your link goes here & "\" & A1) ' A1 is the cell reference

This will add the text you want to the current link.

hope this helps
 
Upvote 0
I'm still having trouble...I'm using the formula that you suggested- now I'm getting the following error in the cell:
#NAME?

What am I doing wrong?
 
Upvote 0
try =HYPERLINK(C:\Documents and Settings\aenglert.QUESTEL\Desktop\OCRed & "\" & A1 & ".pdf")

what version of excel are you using?
 
Upvote 0
Excel 2003.
I tried that too, got the same error message.
The closest I have been able to come is using:

=HYPERLINK("C:\Documents and Settings\aenglert.QUESTEL\Desktop\OCRed & \ & A2 & .pdf ", A2)

This gives the correct name in the linked cell, but when I click to open the linked pdf, I get a popup error saying "Cannot open the specified file".
 
Upvote 0
=HYPERLINK("C:\Documents and Settings\aenglert.QUESTEL\Desktop\OCRed" & "\" & A2 & ".pdf ")
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,428
Members
448,896
Latest member
MadMarty

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