如何在谷歌工作表的自定义菜单中更改颜色?

时间:2015-05-11 01:09:40

标签: google-apps-script google-sheets

我在谷歌表上有这两个菜单,我想将它们的颜色改为红色和蓝色。我怎么能这样做?

function onOpen()
{
  var menuItems1 = [{name: "submit new order", functionName: "NewOrder"}];
  var menuItems2 = [{name: 'submit order change', functionName: 'OrderChange'}];
  SpreadsheetApp.getActiveSpreadsheet().addMenu("submit new order", menuItems1);
  SpreadsheetApp.getActiveSpreadsheet().addMenu("submit order change", menuItems2);
}

1 个答案:

答案 0 :(得分:1)

无法更改应用脚本中的菜单项颜色