Search found 5 matches

by jeqberry
Fri Mar 04, 2022 8:15 pm
Forum: HSSFR4
Topic: Protect sheet when xlsx
Replies: 1
Views: 9084

Re: Protect sheet when xlsx

Found it. Had to XSSF on the prototype for the protect sheet.
by jeqberry
Fri Mar 04, 2022 7:02 pm
Forum: HSSFR4
Topic: Protect sheet when xlsx
Replies: 1
Views: 9084

Protect sheet when xlsx

I have a program that was writing xls. I changed it to use the new HSSFR4 in order to handled xlsx. It works well, except for the Protect Sheet. Is does not want to protect the sheet. I do not see any errors. Maybe is should not be hssf any longer? D ssSheet_protectSheet... D PR ExtProc( *Java D : '...
by jeqberry
Thu Jan 20, 2022 3:33 pm
Forum: HSSFR4
Topic: trouble with formulas
Replies: 12
Views: 19434

Re: trouble with formulas

I found the issue. After a bit of google searching I found that the original sheet cannot have any formulas in it. The source sheet I was using had 2 simple formulas in a couple of cells =b13 and =C12. With xlsx you need to have no formulas in the sheet you are going to update , or you have to set t...
by jeqberry
Thu Jan 20, 2022 12:13 am
Forum: HSSFR4
Topic: trouble with formulas
Replies: 12
Views: 19434

Re: trouble with formulas

Could be back when you did it, things did work. I tried opening with Excel 2013 and in Teams. Teams will open it, and prompts to "Fix It". Excel 2013 opens it and removes the formulas. I went to the web, and one place indicated I needed poi-ooxml, and I do see that jar on the system and ge...
by jeqberry
Wed Jan 19, 2022 11:05 pm
Forum: HSSFR4
Topic: trouble with formulas
Replies: 12
Views: 19434

trouble with formulas

I have code that was using hssf procedures as it was an xls (old excel). Management want the excel to now be xlsx. I used the ss_formula procedure call and it did not abend. The issue is when I go to open the xlsx it indicates something is wrong with spreadsheet. It allows me to open it and with thi...