Home>

ReferenceError: I don't know the cause of the error "Browsermsgbox".

Please write your question in detail here.
I ’m new to Google AppsScript.
In the Google Sheets script editor,

Running

, ReferenceError: "Browsermsgbox" is not defined
It comes out.

Applicable source code

function myFunction () {
Browser.msgbox ('hello word');
}

Tried

Resources → Google extension service →
I turned on all the APIs. The error will not disappear.

Supplemental information (FW/tool version etc.)

Google Chrome version version: 68.0.3440.106 (Official Build)

  • Answer # 1

    Make sure that function names are entered in the correct case.

    Browser.msgBox ('hello world');

    https://developers.google.com/apps-script/reference/base/browser#msgBox (String)

Related articles