Certain XLSX to HTML conversion fails for certain file in .NET

Converting the attached file to HTML fails using GroupDocs.Viewer 21.7.
This issue does not happen with “SpreadsheetOptions.ForOnePagePerSheet();” option, only when the file is split up into multiple pages.

    using (var viewer = new Viewer(documentPath))
    {                
        var infoOpts = ViewInfoOptions.ForHtmlView();
        var info = viewer.GetViewInfo(infoOpts);
        var options = HtmlViewOptions.ForEmbeddedResources("output_viewer{0}.html");
        viewer.View(options);
    }

The problem seems to happen on page 3, as conversion stops there.
This will produce no output:

        int[] pageNumbers = { 3 };
        viewer.View(options, pageNumbers);

Exception:
GroupDocs.Viewer.Exceptions.GroupDocsViewerException: 'Invalid column index.'

dummy excel.zip (33.0 KB)

@Clemens_Pestuka

We have reproduced this issue on our side. It has been planned to fix in the next version (v21.8). We’ll update you when this issue will be fixed.

1 Like

@vladimir.litvinchik

That’s perfect, thank you :slight_smile:

@Clemens_Pestuka

You’re welcome!

@Clemens_Pestuka

This issue has been fixed. We’re planning to publish a version that includes the fix next week. We’ll notify you when the version will be available.

1 Like

@Clemens_Pestuka

GroupDocs.Viewer for .NET v21.8 that includes fix for this issue has been published. You can find the new version at

Have a nice day!