Adding hyperlinks in Excel[2007] in C# - Within Excel it self

前端 未结 4 2116
醉梦人生
醉梦人生 2021-02-08 11:00

Can anybody tell me how we can add a hyperlink in Excel (2007 or later) from a cell in one sheet to a cell in another sheet using Office Interop in .NET (c#)

For example

4条回答
  •  别跟我提以往
    2021-02-08 11:46

    Hope below one will help you.

    xlNewSheet.Hyperlinks.Add(xlWorkRange, string.Empty, "'Detailed Testcase Summary'!A1", "Click Here", "Please click me to go to Detailed Test case Summary Result");    
    

提交回复
热议问题