Home

Creating formatted hyperlinks with .ToSpreadsheet()

edited December 10

Hi guys,

Is is possible to create a formatted link with the awesome new ".ToSpreadsheet()"? method?

Highly appreciate you reply :smiley:

BR, Frederik

Comments

  • Links are exported as plain text regardless of type used:

    const string uri = "https://forum.linqpad.net/";
    
    new[]{ new Links(uri, new(uri), new(uri)) }
        .Dump()
        .ToSpreadsheet("Sheet_1")
        .Save(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "LINQPadLinks.xlsx"));
    
    record Links(string Text, Uri Uri, Hyperlinq Hyperlinq);
    
Sign In or Register to comment.