Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
Mukta2111
Mukta2111
1 Post
ACCEPTED ANSWER

Pinned topic jxl api for Opening an existing excel file in edit mode.

‏2010-11-23T15:44:30Z |
I am trying to write in the result of my RFT script into an excel using jxl api. I cannot use
WritableWorkbook wwb = new Workbook.createWorkbook("abc.xls");
as I do not want to create a new workbook, rather I want to use an existing one. I cannot use
Workbook wb = new Workbook.getWorkbook("abc.xls");
as this would get the file in read only mode. There is no "getWorkbook" method for the class WritableWorkbook. Please tell me how to go about it. I searched through examples online but in each case a new workbook is being created rather than using an existing one.