1金币
本帖最后由 Lynn.Dou 于 2022-9-15 10:56 编辑
Workbook workbook = new Workbook();
workbook.open("C:\\Users\\hanjiansong\\Desktop\\kfuzy9msiyw7j04p6cnt.xlsm");
boolean srcHidden = workbook.getWorksheets().get("基础资产CR04-企业债、公司债").getColumns().get(0).getHidden();
workbook.save("C:\\Users\\hanjiansong\\Desktop\\kfuzy9msiyw7j04p6cnt_save.xlsm");
workbook.open("C:\\Users\\hanjiansong\\Desktop\\kfuzy9msiyw7j04p6cnt_save.xlsm");
boolean saveHidden = workbook.getWorksheets().get("基础资产CR04-企业债、公司债").getColumns().get(0).getHidden();
System.out.println(srcHidden);
System.out.println(saveHidden);
kfuzy9msiyw7j04p6cnt.zip
(1.72 MB, 下载次数: 973)
|
|