C# exporting e-mails to excel on widndows forms using microsoft.office.interop.excel
        Posted  
        
            by shin
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by shin
        
        
        
        Published on 2010-06-09T11:51:36Z
        Indexed on 
            2010/06/09
            11:52 UTC
        
        
        Read the original article
        Hit count: 278
        
I need to export some data to excel in my forms aplication, so i used microsoft.office.interop.excel and everything is ok except one thing. When exporting client's email I would like to make it an mailto: link.
excellApp.Cells[row, 16] = "mailto:"+client.Email;
doesn't work
Whend I add hiperlink when exporting www field it looks like this:
excelWorkSheet.Hyperlinks.Add(excellApp.Cells[row, 14], client.Www, Type.Missing, Type.Missing, Type.Missing);
How can I export an email to have similar effect coz right now I have only simple fields withou any action...?
© Stack Overflow or respective owner