Trying to export a report to Excel via a deluge script

Trying to export a report to Excel via a deluge script

I have this code from other posts but it gives me an error of improper statement, due to missing ; at end of line or incomplete expression.  Tried lots of variations to no avail.  

openUrl(https://creatorapp.zoho.com/<username>/<app name>/XLSX/#Report:<reportname>,"same window");