Forum Discussion
Jan Grobbelaar
Nov 13, 2018Copper Contributor
HYPERLINK function returns "Cannot open specified file"
I am trying to use the HYPERLINK function but to no avail. I have exhausted all the standard help available on this, but I cannot figure out what is wrong, Here is an example of the syntax I am tryin...
- Nov 14, 2018
=HYPERLINK("#$A$3","Somewhere in the same worksheet")
or
=HYPERLINK("#'ANOTHER SHEET'!$A$3","Somewhere in another worksheet")
if you want a dynamic link in cell A3, put
#A5
then, the hyperlink function
=HYPERLINK($A$3, "Somewhere pointed by Cell A3")
MikeofMilbourne
Feb 08, 2021Copper Contributor
I have found that this error frequently occurs when I try to hyperlink to a file. Sometimes the containing folder is displayed in Explorer but the file does not open. This seems to be a problem with the file association mechanism and the opening strategy of the target program. In my case I was trying to open a .jpg file, which I normally associate to FastOne.exe. When I changed the association to Irfanview.exe, all worked OK. I realise that this isn't a complete workaround, but may help where, for example, the target program can be a generalised file reader.