Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to add the same custom menu item to every Google Sheet [closed]

$
0
0

I have a Google Apps Script function I've written to perform mail merges from data in a Google Sheet. I enter the document ID and relevant cells into the function (hard-coding them), and when the function runs, it creates a new Google Doc containing the mail merge. It's time-consuming to hard-code the info about every spreadsheet with which I want to perform a mail merge. I'm looking for a way to automate this process and save myself the time. What I think would be best is if I could create a menu item that would automatically be available in every Google Sheet I ever opened, and when I clicked it would automatically run the function based on the info for that specific Google Sheet. I don't know if this possible, but please let me know if it is. If not, any other idea for how I can avoid hard-coding the spreadsheet info each time would be very helpful and appreciated. Thanks!!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>