Skip to content

Instantly share code, notes, and snippets.

View bharatramnani94's full-sized avatar

Bharat Ramnani bharatramnani94

View GitHub Profile

To connect a Google Sheet to an HTML form

  1. Create a new excel sheet
  2. Inside the sheet, in Tools menu, click on script editor, and copy and paste the script from below
  3. Select function Setup, run it.
  4. From Publish menu, click on Deploy as web app
    • enter Project Version name and click 'Save New Version'
    • set security level and enable service (most likely execute as 'me' and access 'anyone, even anonymously)*
  5. Copy that deploy url, Example: https://script.google.com/macros/s/AKfycbzlsdMgcBasdum7c14OU01mQ99nxV7p7ge6QmEuvS5w/exec