in reply to Re^2: Problem Writing macros in an Excel Filein thread Problem Writing macros in an Excel File
Also lkundrak says OpenOffice::UNO works. Apparently with UNO you can set a Formula in a Cell|Formula in a Cell among other things