I am using a formula to create hyperlinks in excel.
Excel Formula : =HYPERLINK(CONCATENATE("https://loremipsum.com/#/Advert/",[@[Customer CID]],"/dolorsit"), "View")
This formula is evaluating as expected in excel but when I go fetch this through spreadsheet gear. The result is:-
"=HYPERLINK(CONCATENATE(\"https://loremipsum.com/#/Advert/\",#REF!,\"/dolorsit\"), \"View \")"
What I really want to fetch is the hyperlink.
https://loremipsum.com/#/Advert/{ColumnValue}/dolorsit
I tried doing worksheet.Cells[i, j].Hyperlinks;
but it is giving null reference error since the range has formula. And If I do worksheet.Cells[i, j].Formula
it doesn't give me the Column reference. (Gives "#REF!" text only)
Does anyone have the solution to my problem ?
All I am trying to achieve is the hyperlink that is getting evaluated from that formula.