Free Support Forum - aspose.com

How to open a custom template in the latest aspose version

Hi,

We recently upgraded to use the latest version. To open the excel template we used

workbook.open(InputStream); In the latest version, we are unable to find this. Can you please suggest what to use?

Thanks!!!!

Hi,


Please check the document for your complete reference on Opening /Loading files.
http://www.aspose.com/documentation/java-components/aspose.cells-for-java/opening-files.html

You may use now Workbook constructor to specify the stream or file path, e.g
//…
Workbook workbook = new Workbook(InputStream);

Thank you. That worked!!