Does anyone know of a way to wrap up a worksheet either as a UDF function?
Essentially I'd like to create a worksheet or workbook which carries out certain calculations and then reuse this code in other worksheet or workbooks. Ideally the UDF would set the value of certain input cells and return a value from a certain output cell.
There is a hack in the answer to this question, but it doesn't work well.
Using a UDF in Excel to update the worksheet
Ideally I'd like to do this in Excel, but am receptive to suggestions of alternative spreadsheet software, third party excel tools or alternative platforms entirely.