informationsea / xlsxwriter-rs

Excel file writer for Rust
https://crates.io/crates/xlsxwriter
Apache License 2.0
265 stars 44 forks source link

Iterate over all sheets #57

Open CrystalKeck27 opened 2 months ago

CrystalKeck27 commented 2 months ago

Issue

From what I have found in the current API, there is no way to iterate over all the sheets in an existing workbook. libxlsxwriter uses a macro to achieve this, so I don't know how easy this functionality will be to port.

Workaround:

Use this function in calamine to get the names of all the sheets and iterate over those.