Hyperlink problem within excel document.

JesterX1313

New Member
Joined
Dec 12, 2003
Messages
10
I have a weird problem that probably has a very simple answer. I am trying to make a hyperlink that points to a location on a different sheet within the same document. The original formula I created looked like this...

"=HYPERLINK(INDIRECT(VLOOKUP(C3,C13:D15,2,FALSE)),C3)"

It kept coming up with the error, "Cannot open the specified file". So I tried to make it simple, "=HYPERLINK(D16,D16)" which just points to the next cell over and it still comes up with the same error. What am I doing wrong? When I do the Insert, Hyperlink option it will work fine, but I can't do that with the code I'm trying to use (with the vlookup). Let me know if you need more info. I'm using Excel 2007. Thanks.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
The HYPERLINK function requires the workbook, worksheet and range references, eg:

=HYPERLINK("[BOOK4.xls]Sheet2!A1")
 
Upvote 0

JesterX1313

New Member
Joined
Dec 12, 2003
Messages
10
The HYPERLINK function requires the workbook, worksheet and range references, eg:

=HYPERLINK("[BOOK4.xls]Sheet2!A1")

I knew it was something simple. I tried it like that but forgot the "xlsx" part. Thanks a lot for your help. :)
 
Upvote 0

Forum statistics

Threads
1,191,120
Messages
5,984,762
Members
439,909
Latest member
daigoku

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
Top