I am currently at the brink of migrating our file server to a new server, unfortunately our Accounting department has made excel formulas that references alternate excel files sums in random cells.
I have a script now that recursively goes through the network files, searches for files that have extensions of XLS, XLSX, XLT... then opens them using the XLRD... then iterates through each workbook, then through each row, and each cell...
I am stuck now at what initially i thought would be the easiest part, I need to display a FORMULA not the output of the formula....
Example formula in excel:
=+-'\\FileServer1\Finance\Money\[Cash money spread.xlsx]Mar'' 14'!$N$134
When iterated in the script using XLRD:
$827.00
(shows the value of the formula!!!)
Anyone have anytimes? I have the RegEx (re.sub) and all the other components except for this small (but vital) component!