In the spreadsheet, I can enter =SIN(45)+123 into the cell and it will be evaluated.
How can I evaluate spreadsheet functions in a user-defined function, something like "eval", which will work as follows:
function myFunc() { return Sheet.eval("=SIN(45)+123") }
Is it possible?
Please note that I do not care about the SIN function in particular, I want to access the full arsenal of spreadsheet functions ( PMT , QUERY , NPER , etc.).
google-spreadsheet google-apps-script
Max L.
source share