this HYPERLINK code, working sometimes working, sometimes not (?)

Grizlore

Active Member
Joined
Aug 22, 2006
Messages
259
Hello All,

I am baffled :|

The formula does what it should... soemtimes.

The formula below finds the first time a code if mentioned, and creates a hyperlink to a file with the same name, and a .pdf file extension.

=IF(C2<>"",(IF(COUNTIF($C$2:C2,C2)=1,HYPERLINK("\\drive1\share\CofPs\"& C2&".pdf","First"),"Repeat")),"")

Can anyone tell me why this formula doesn't work 100% of the time.

The exact same formula will work in one file, and not in another...

Is this something outside of Excel?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi,

Please mention the drive in the formula, it might work!!

if the file is in C drive or D drive, rather than just mentioning the drive

=IF(C2<>"",(IF(COUNTIF($C$2:C2,C2)=1,HYPERLINK("c:\drive1\share\CofPs\"& C2&".pdf","First"),"Repeat")),"")
 
Upvote 0
Ron99, This is a network drive on a server, so C's and D's aren't used

The address is correct, and it isnt a User issue, as I have the same problem... on one spreadsheet it works, on another it doesnt.

Even on the same spreadsheet... it will work sometimes, and othertimes not.


I am think it might not be the formula ?
 
Upvote 0

Forum statistics

Threads
1,224,561
Messages
6,179,522
Members
452,923
Latest member
JackiG

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