Based on Adding arguments to a function in the onOpen entries object , I'm trying to add entries to the menu of a google sheet.
I'm getting The error in the title:
Script function not found: entries For more information, see
https://developers.google.com/apps-script/refere
What am I doing wrong in my code below?
function onOpen() {
var ui = SpreadsheetApp.getUi();
var entries = [{
name : "Summary",
functionName : "copyRowsByColumnPattern",
},
{
name : "Summary2",
functionName : "copyRowsByColumnPattern",
}];
ui.createMenu('Push to Sheet').addItem('Select Sheet', 'entries').addToUi();
}