Spreadsheet macro to request cell values-prompt() not working

I’m a new OnlyOffice user (previously Excel) and I’m trying to write a macro which prompts the user to provide values for several cells.

The prompt() command doesn’t work-nothing pops up to request input values.

If I manually add the values in the macro it updaates ok, but the values will differ each time.

If I can get this to work I would like to insert a new row each time then copy/paste the totals row to a summary sheet.

No luck so far.

Thanks for any help-I have never used JS before.