Worksheet index property should be stored in Workbook

This commit is contained in:
Debao Zhang
2013-08-30 10:46:13 +08:00
parent bca00392dc
commit 7816c724dc
6 changed files with 55 additions and 45 deletions
+2
View File
@@ -31,6 +31,8 @@ int main()
sheet2->write(3, 1, 400);
sheet2->write(4, 1, "=SUM(B1:B4)");
workbook.setActivedWorksheet(1);
workbook.save(DATA_PATH"Test.xlsx");
workbook.save(DATA_PATH"Test.zip");
return 0;