Closed lucasemmoreira closed 4 years ago
It is designed for a different use case:
Ideally, you would read the data from the spreadsheet into Clojure data structures and then work with it there using the normal Clojure functions before eventually writing it back. This way, there will be very little friction when using the library.
Working on a cell at a time is much more work, and - as you have found out, requires you to consider more edge cases like non-existing cells etc.
I suggest you try the other approach.
PS: the "2.0" design would address your use case better but it needs someone to drive the implementation since the library is feature complete and good enough for most users including myself.
I still think it would be very elegant: if you are interested, see #58
Hi!
I am struggling to write in an empty cell. I could not find in the documention. Here is my attempt:
In this example, the spreadsheet has a Sheet1 with no value in the cell B6.
Here was my output
Analysing with the debugger, cell returned nil and broke on set-cell! call.
If anything else is needed from me, let me know.
Regards!