Quick Hyperlink Function Question

mahmed1

Well-known Member
Joined
Mar 28, 2009
Messages
2,302
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi guys

I have this formula to hyperlink to the sheet which is in D3 but its not working. Please advise where i am going wrong.
I have multiple sheets and have a data validation in cell D3 exactly the same names as the sheet names. I am trying to hyerlink to the sheet depending on what i select in D3

=HYPERLINK("[Main Copy]'"&D3&"'!B2",D3)

I get this message (Cannot open the specified File)..

Is this error because i have spaces in my sheet names? If yes how can i get round this without having to delete the spaces?

Thank You
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
It seems it lets Excel know that the hyperlink is within the file it's already in. I tried it with using the entire path (down to the drive) and that worked, as well.

=HYPERLINK("[C:\Book2.xlsx]'Sheet1'!A1", "Eeeee!")

So either you need a full path, or a #... I'll choose the # thanks. :)
 
Upvote 0
Upvote 0
It seems it lets Excel know that the hyperlink is within the file it's already in. I tried it with using the entire path (down to the drive) and that worked, as well.

=HYPERLINK("[C:\Book2.xlsx]'Sheet1'!A1", "Eeeee!")

So either you need a full path, or a #... I'll choose the # thanks. :)
Yeah, that seems to be what it means.

See, we both learned something from this! :cool:
 
Upvote 0
All I can think of is unhide the sheets.


Thank You..The reason why i have hidden the sheets is because i have so many sheets however i need to keep some sheets unhidden therefore rather than having multiple sheets i thought it would have been neater to hyperlink to the unhidden sheets so that way i would not have many sheets unhidden.

Thank you for your help
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,081
Members
453,021
Latest member
Justyna P

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