Hyperlink formula not working due to "security"?

yeevy

New Member
Joined
Mar 24, 2023
Messages
5
Office Version
  1. 2021
Platform
  1. MacOS
I've just started using excel to organize my music library. In one of the columns I have a list of hyperlinks each leading to a different cell in another worksheet. However, while it works just fine with the Cmd + K (I'm on Mac) keyboard shortcut, it simply doesn't work when I use this formula:

=HYPERLINK('Commenti e link relativi'!B2; "1")
("'Commenti e link relativi'" is the name of a worksheet)

Anyway, when I run the formula, it will arbitrarily edit the formatting of the cell to look like a hyperlink, but will remain completely inert when clicked on.
I have to make several hundreds hyperlinks, so using Cmd + K for each one of them is not really an aoption.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I've just started using excel to organize my music library. In one of the columns I have a list of hyperlinks each leading to a different cell in another worksheet. However, while it works just fine with the Cmd + K (I'm on Mac) keyboard shortcut, it simply doesn't work when I use this formula:

=HYPERLINK('Commenti e link relativi'!B2; "1")
("'Commenti e link relativi'" is the name of a worksheet)

Anyway, when I run the formula, it will arbitrarily edit the formatting of the cell to look like a hyperlink, but will remain completely inert when clicked on.
I have to make several hundreds hyperlinks, so using Cmd + K for each one of them is not really an aoption.
I forgot to add, in other cases, it will instead activate the hyperlink but give me an alert telling me that the source of the link might not be safe. If I then tell it to continue anyways, it will simply tell me that it cannot be opened, without telling me anything else.
 
Upvote 0
Hi & welcome to MrExcel.
Try
Excel Formula:
=HYPERLINK("#'Commenti e link relativi'!B2"; "1")
 
Upvote 1
Solution
Hi & welcome to MrExcel.
Try
Excel Formula:
=HYPERLINK("#'Commenti e link relativi'!B2"; "1")
Thanks! That works, but may I ask you what adding the # and " " does exactly?
 
Upvote 0
You need to pass the address as a string hence the quotes. The # is need when linking to a cell in the same workbook.
 
Upvote 1

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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