Is there a script for google sheets that calls the sharable link of that specific sheets?

I'm using the Mailapp.sendEmail function to send emails to our manufacturer whenever there is a revision to a job, and I would like to assign the sheets sharable link to a variable so I can put it into the email I send to the manufacturer.

I've looked it up but haven't found any similar questions.


1 Answer 1

var ss = SpreadsheetApp.getActiveSpreadsheet();
var url = ss.getUrl());



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.