I have a javascript and need to run it as an UDF in Excel (Excel VBA). So I need the code adapted (method 1) Alternatively, it might suffice if the javascript can be run from Excel, so the input for the javascript would be cell A1, and the output would be B1 (method 2) For details get hold of me. Skype: markmu1965