View on GitHub

gDoc Sub System

A substitution system built on top of Google spreadsheets! Supports daily email digests.

Download this project as a .zip file Download this project as a tar.gz file

Setup

  1. Create a new Google Docs spreadsheet.
  2. Select Tools > Script editor....
  3. script menu
  4. Select Blank Project.
  5. Paste the code from main.js. Update the global params as needed.
  6. paste code
  7. Select File > Save. Name your project.
  8. name project
  9. Select File > Project properties. Set the appropriate timezone.
  10. timezone
  11. Select Resources > Current project's triggers.
  12. Click Add a new trigger.
    1. Set a Time-driven trigger to update colors. This will grey out past dates.
    2. Add a trigger to send emails every morning.
    triggers
  13. Save your changes and authorize the app to send emails.
  14. Reopen the spreadsheet. You should now see a Subs menu.
  15. Setup your header rows and columns. The only requirement is that the first column contain dates.
  16. setup headers
    • Note: If everything is setup correctly, the script should start coloring the cells appropriately. This image was taken on 1/25/14, so the dates before that are greyed out automatically.
    • Tip: It might be helpful to put the day info in the second column. This can be done by adding =TEXT(A2, "E (MMM d)") as seen above.
  17. The Subs menu can be used to manually do certain tasks.
    1. Send email can be used to manually send an email at anytime.
    2. Update colors can be used to force all colors to update.
    send email
    • Note: You will need to provide authorization the first time you use the Subs menu.
    The sub system is now ready! Share the spreadsheet link with your group and start using. finalThe generated emails will look like this. email