This project has moved and is read-only. For the latest updates, please go here.

Cannot Open XLSX Workbook

Oct 14, 2011 at 3:12 AM

I am trying to open with ClosedXML a template that I created in Excel (not with ClosedXML).  However, I am receiving the message "Sequence contains no matching element" when trying to open the workbook.  I have successfully used ClosedXML to create new workbooks but I need to be able to open a template file so I can create multiple copies of the template worksheet.  I would appreciate any help that can be given.

The statement which errors off is as follows, where destFilename is a String of a valid filepath:

Dim xlrpt As XLWorkbook = New XLWorkbook(destFilename)
Oct 14, 2011 at 10:12 PM

Please open an issue (Issue Tracker tab) and attach the file you're trying to open.