Skip to content

Commit 5b87e32

Browse files
committed
882003-Xls-to-Xlsx
1 parent ed854f6 commit 5b87e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

File-Formats/XlsIO/faqs/how-to-convert-xls-document-to-xlsx-format-document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
1818
application.DefaultVersion = ExcelVersion.Xlsx;
1919

2020
//Loads an xls file
21-
FileStream fileStream = new FileStream("InputTemplate.xlsx", FileMode.Open, FileAccess.Read);
21+
FileStream fileStream = new FileStream("InputTemplate.xls", FileMode.Open, FileAccess.Read);
2222
IWorkbook workbook = application.Workbooks.Open(fileStream);
2323

2424
//Set the workbook version to xlsx

0 commit comments

Comments
 (0)