Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
685
Cell with Hyperlink
posted

Hello,

I have an excel table and one of the columns contains reference to a file on the computer file system. I have to link the cell value to that file, so when you click the cell the file opens.

I know that to do this i have to use the APPLYFORMULA in this way

 

xFoglio.Rows(rownumber).Cells(columnnumber).ApplyFormula("=HYPERLINK("C:\MyFile.txt";"MyFile.txt")")

 

It works, but there is only one problem: the value of the cell is "MyFile.txt" but it is not showed as an hyperlink (I mean, it is not underlined and not in blue color), it appears as normal text. To obtain the hyperlink you have to select the cell and press enter.

So the cell actually behaves like an hyperlink (if you click the cell the file is opened) but it is not showed as an hyperlink

 

Claudio Di Flumeri

Parents Reply Children
No Data