#value error after opening hyperlink for other sheet

moks844

New Member
Joined
Mar 15, 2016
Messages
14
Hi everyone !

I am trying to set a reference to external directory path in order to use it for hyperlink function (The hyperlink is used to either open the directory, sub-directories and sub files within these directories)
to do that I'm using the following functions:
1. To set the main directory location: =(LEFT(CELL("filename"),-1+FIND("\D",CELL("filename")))&"\Cases\") 'This return the main directory path where the sub-directories and files are created and saved.
I've assigned the Ref.name of "Claim_path" for this function.
2. The hyperlink for the sub-directories and sub-sheets is: =HYPERLINK(CONCATENATE(Claims_Path,[@YEAR],slash,[@[File No]],slash,[@[File No]],".xlsx"),CONCATENATE("File #",[NO.])) 'slash is a Ref name assigned for the slash sign "\", I'm using a referenced table with headers [Year] and [File No]

No after clicking the hyperlink the sheet opened but it directly become error "#Value". after refreshing the sheet this error eliminated but whenever I click the hyperlink for the sheet, the error happens again.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,268
Messages
6,171,100
Members
452,379
Latest member
IainTru

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