Hi Nabil,
Unfortunately, there is no way to share a sheet with a group currently. Giving the group email address access to the spreadsheet does not give the individual email addresses in that group access to the spreadsheet. You can easily automate the process of sending an email to that group informing them of the spreadsheet, but you would need to make the spreadsheet available to all (not just the group) to allow them to view it.
From: google-apps-sc...@googlegroups.com <google-apps-sc...@googlegroups.com> On Behalf Of Nabil Hassan
Sent: July 9, 2022 3:05 PM
To: Google Apps Script Community <google-apps-sc...@googlegroups.com>
Subject: [Apps-Script] How to share multiple Google Sheets with different Google Groups Using Apps Script
Hi All,
I have a Google Sheet where I've listed all the Google Groups in one Column and in the next Column I have the Google Sheet link that needs to be shared with those Google Groups.
Here is the screenshot for reference:
I need some help here to automate this process.
I was thinking to add a custom menu button that when clicked will automatically share the sheets in Column C to the Google Group Email Addresses mentioned in Column B.
Please help!!
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/8e9a5f9d-1deb-4fc4-8751-3f53f0a25d38n%40googlegroups.com.