Custom Menu Not Showing Even After I Run My Code in App Scripts

636 views
Skip to first unread message

Amietee Fuondjing

unread,
Jul 1, 2022, 2:06:11 PM7/1/22
to Google Apps Script Community
I wrote a script that creates a custom menu using the onOpen() function but it does not show up in my Google Sheets toolbar even after I press run and refresh the page. I have checked and rechecked my syntax and it is correct. The code executes fine. Does anybody have any idea why it's still not showing up for me? Thanks.

Jonathan Butler

unread,
Jul 1, 2022, 4:57:25 PM7/1/22
to google-apps-sc...@googlegroups.com
My best guess is you have a global variable that is failing and causing it to error out before the menu can display. Check all of your globals and make sure you aren't doing something like creating a variable for a spreadsheet that doesn't exist.

On Fri, Jul 1, 2022 at 1:06 PM Amietee Fuondjing <amietee....@siriusxm.com> wrote:
I wrote a script that creates a custom menu using the onOpen() function but it does not show up in my Google Sheets toolbar even after I press run and refresh the page. I have checked and rechecked my syntax and it is correct. The code executes fine. Does anybody have any idea why it's still not showing up for me? Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/0e6f8f3b-c115-47cd-80b3-34680a74b166n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages