Skip to content

Hyperlink to local file no longer works #1963

@robbiedesutter

Description

@robbiedesutter

EPPlus usage

Personal use

Environment

Windows

Epplus version

8.0.2

Spreadsheet application

Excel version 2540 (Build 16.0.18730.20030) 64-bit

Description

Setting a hyperlink to a file on the local disk no longer works.

Since an Excel version update (I think to 2540), the hyperlink you set in code to a local file is no longer present when you open the file in Excel. It used to work fine.

No error is giving in code; also using an URL (https://) instead of a local file still works fine.
I've tried with Epplus version 8.0.2, 8.0.1, 7.7.0, 7.5.0 and 7.2.0 (all didn't work). Unfortunately, I cannot rollback the Excel version.

Sheet.Cells["A1"].Hyperlink = new Uri(sourceFilePath);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions