Remember to update to the newest version of OfficeWriter! New updates are periodically released which include new features, tweaks to improve usability, and bug fixes to help make your OfficeWriter experience as productive as possible. |
Table of Contents |
---|
Why this might happen:
/* INCORRECT CODE: ExcelTemplate xlt = new ExcelTemplate(); xlt.Open(Page.MapPath(@"path\to\code.xlsx")); /*...*/ xlt.Process(); ExcelApplication xla = new ExcelTemplate(); Workbook wb = xla.Open(xlt); xla.Save(wb, "Completed.xlsx"); */ |
Issues with this method:
Solutions:
// CORRECT CODE: ExcelApplication xla = new ExcelApplication(); Workbook wb = xla.Open(Page.MapPath(@"path\to\code.xlsx")); /*...*/ ExcelTemplate xlt = new ExcelTemplate(); xlt.Open(xla, wb); xlt.Process(); xlt.Save(Page.Response, "Completed.xlsx", false); |
Why this might happen:
Issues with this method:
Solutions:
Why this might happen:
Issues with this method:
Solutions:
Why this might happen:
Issues with this method:
Solutions:
Why this might happen:
Issue with this method:
Solutions:
You can download the code for the best performance samples as a Visual Studio solution.