Not able to create the hyperlink from one sheet to another in same workbook. Attached the code, please provide some suggession

    ' Create new empty workbook.
    Dim workbook As New ExcelFile()

    ' Add 2 new sheets.
    Dim worksheet As ExcelWorksheet = workbook.Worksheets.Add("Sheet1")
    Dim worksheet1 As ExcelWorksheet = workbook.Worksheets.Add("Sheet2")

    'Get H4 cell from sheet1
    Dim exclCell As ExcelCell = worksheet.Cells("H4")

    exclCell.Value = "Jump"
    exclCell.Style.Font.UnderlineStyle = UnderlineStyle.Single
    exclCell.Hyperlink.ToolTip = "This is tool tip! This hyperlink jumps to E1."
    exclCell.Hyperlink.Location = worksheet1 .Name + "!B3"

Hi Girish,

I was unable to reproduce the issue with your code.

Just in case, can you please try again with the current latest version:

If the problem remains, please create a small Visual Studio project that reproduces your issue so that we can investigate it.


Thanks, it is working in latest version.