(no title)
skety
|
8 years ago
I have to handle quite a lot of Excel document at work, much to my despair. Unfortunately we are not using GIT, but SVN.
I ended up creating a small tool that extract the vba, named ranges plus the sheet in this format: "cell_adress,type,format,value"
I have to commit those files alongside the spreadsheet, which is not great but had helped me a lot.
Nice to hear others are working on the problem!
kdmytro|8 years ago
bringtheaction|8 years ago
This in fact prompted me to further investigate the open source text extraction tools on the market and I ended up finding one that was better than the one I had selected at first and which I had then been building upon. Happily my own tools were built in such a way that I could reuse most of the code I had written while using the previous tool, and in fact during the rewrite I also realized that I could write the new code in a much cleaner way and so there were basically only upsides to switching tool and rewriting some of my code :)
skety|8 years ago
I like to have to text version of the workbook so I can query it using grep. We have multiple dozen of very similar workbooks (whoever set that up first was insane). Any change request involves updating all workbooks the exact same way. After I update them I can run something like this: grep "^A1" /*/sheet1.csv
Using this I get the value/formula and format of all workbooks for sheet1!A1. That way I am sure they have all been updated the same way. And this works with the VBA code as well.
Not the nicest system I have worked on, at least we don't have to touch it too often.
webreac|8 years ago
unknown|8 years ago
[deleted]