Create Excel file with formula in sheet cells from command prompt using EasyXLS component! XLSX, XLSM, XLSB, XLS files in VBScript.
https://www.easyxls.com/manual/tutorials/vbs/add-excel-formula.html