jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.48k stars 330 forks source link

Is there any way to update format without value, or update value without format? #406

Closed toge closed 1 year ago

toge commented 1 year ago

I would like to set the borders all at once after putting in the values, or create a template in advance and then put in the values where needed. Is it possible to set the value and format separately?

jmcnamara commented 1 year ago

Is it possible to set the value and format separately?

Unfortunately not. There aren't any helper functions or APIs to help with this so programmatically adding borders around an area can be tricky.