Skip to content

Getting Hypertext link in an excel cell

Sebastien

Asked Jul 22, 2007, 3:27 AM EDT1 answer
Share
LinkedInX
Hello everybody, I have to develop an application which must read an excel file with hypertext links in some cells, and I can't find the way to get theses metadata. I get the text of the cell, but I can't find the hypertext links. I use this very good application : http://www.c-sharpcorner.com/UploadFile/mgold/HowtoOepnandReadanExcelSpreadsheetinaListViewin.NET11282005034134AM/HowtoOepnandReadanExcelSpreadsheetinaListViewin.NET.aspx If you managed to get hypertext links in excel cells, I will be happy to get you knowledge ! And please excuse my english, I am a french student... Thank you.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    That's ok, I finaly found : range = worksheet.get_Range("A1", Missing.Value); string l = range.Hyperlinks.get_Item(1).Address; quite simple ^^
    0