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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
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,213,522
Messages
6,114,112
Members
448,549
Latest member
brianhfield

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