Hyperlink does not work

user125

New Member
Joined
Feb 20, 2020
Messages
31
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a simple question but I can't seem to find a solution to it. I have this formula in one of my cells =HYPERLINK("\\networkdrive\123\ABCD\Batch\WER\Export\"&C53&"\WER Batch"). Cell C53 consists of a date that changes everyday. However, when I click on the link it only takes me till folder "Export". Essentially, when I click on the link it should open "WER Batch" folder. Any help would be appreciated!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
It is most likely looking for a folder that matches the date serial number rather than the actual date. You need to use \"&TEXT(C53,"dd/mm/yyyy")&"\ changing the bold part to the correct format for the folder name.
 
Upvote 0
It is most likely looking for a folder that matches the date serial number rather than the actual date. You need to use \"&TEXT(C53,"dd/mm/yyyy")&"\ changing the bold part to the correct format for the folder name.
Thanks for your reply Jason. Still facing the same issue. Link only takes me till "Export" folder.
 
Upvote 0
What is in C53 and what is the full path of the folder?

If you remove HYPERLINK from the formula does the resulting text string show the correct path?
 
Upvote 0
C53 has the formula "=TEXT(ReportDate,"DDMMMYYYY")" where Report Date is a cell in a different worksheet in the same workbook. Hence cell C53 populates 29May2020. The full path of the folder is \\networkdrive\123\ABCD\Batch\WER\Export\29May2020\WER Batch.

If I remove the formula and substitute \"&TEXT(C53,"dd/mm/yyyy")&"\ with 29May2020, it takes me to the WER Batch folder which is what I need.
 
Upvote 0
If C53 already has a formula with the TEXT function then using the text function again in the HYPERLINK formula will do nothing anyway.

Does it work if you skip out C53 and try it as

=HYPERLINK("\\networkdrive\123\ABCD\Batch\WER\Export\"&TEXT(ReportDate,"DDMMMYYYY")&"\WER Batch")

I'm not understanding why it is opening the wrong folder, if the path was invalid then you should get a popup warning for an invalid file.

If you drop the last part, does it open the correct date folder?
 
Last edited:
Upvote 0
Made the change and it still takes me till the "Export" folder. I also tried another test where I entered \\networkdrive\123\ABCD\Batch\WER\Export\29May2020\WER Batch in cell A1 and =HYPERLINK("\\networkdrive\123\ABCD\Batch\WER\Export\"&TEXT(ReportDate,"DDMMMYYYY")&"\WER Batch") in cell A2 and then used an IF formula in cell A3 =IF(A1=A2,TRUE,FALSE) and the formula populated "TRUE" as the outcome.

At this point, I'm not sure what could be wrong with the HYPERLINK formula.
 
Upvote 0
Did you try dropping the last part to see if it goes to Export or 29May2020?

=HYPERLINK("\\networkdrive\123\ABCD\Batch\WER\Export\"&C53)

You could also try &"\" at the end, for me everything works with or without but no harm in trying all options.
 
Upvote 0
Hi Jason,

Thanks for all your help. I tried various methods and one worked. I simply removed the hyperlink and added it back and it seemed to work fine after. Maybe just a technical glitch. Thanks again.
 
Upvote 0
I might be reading that wrong, but I'm seeing that you had a hyperlink formula and a direct hyperlink from the right click menu in the same cell. If that is the case then they were probably conflicting with each other. I'm not sure which (if either) would have priority in that situation.

Regardless of that, glad you got it working :)
 
Upvote 0

Forum statistics

Threads
1,215,622
Messages
6,125,886
Members
449,269
Latest member
GBCOACW

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