Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onOpen() {
- var ss = SpreadsheetApp.getActiveSpreadsheet()
- var sheet = ss.getSheetByName("Sheet7");
- var activerange = ss.getRange('B3');
- if (activerange='True') MailApp.sendEmail("s......@gmail.com", "test mail", "Hi there");
- }
Add Comment
Please, Sign In to add comment