You have written your first Apps Script and it runs perfectly from the script editor, good job so far. But did you know you can add custom menu items to your Spreadsheet ? I briefly explained this in the post " Add / Delete Calendar event with Google Apps Script " and I will explain further here how the method responsible for adding menu works with an example script.