0
A
回答
-1
使用這種素文字........
function sheetTracker()
{
var ss = SpreadsheetApp.getActiveSpreadsheet();
var cell = ss.getActiveCell().getA1Notation();
if(cell=='E10')
{
SpreadsheetApp.getUi().alert("email sent.....!");
MailApp.sendEmail('[email protected]', 'Modification in the spreadsheet',"sheet Name: "+ss.getName()+"\nSheet url: "+ss.getUrl()+"\n"+ 'Cell '+cell+' has been modified by '+Session.getActiveUser()+' - new value = '+ss.getActiveCell().getValue().toString());
}
}
然後添加觸發器腳本下面....
這可能會解決您的問題...
+0
這沒有檢測到變化 – 2015-04-04 15:44:42
相關問題
- 1. 如果單元格在Google表格中發生更改,則觸發電子郵件
- 2. 電子郵件通知,如果單元格更改
- 3. 如果工作表中的IMPORTED DATA更改,則通知電子郵件。 [觸發器不工作]
- 4. 如何更改電子郵件通知
- 5. 如何電子郵件觸發通知發送到特定的電子郵件行內時更新域/數據
- 6. Google電子表格:如果發生任何更改,則更改單元格顏色的腳本
- 7. 當單元格的單元格顏色發生變化時的電子郵件觸發器
- 8. 如何在使用addListItem時觸發電子郵件通知?
- 9. 電子郵件不觸發
- 10. TeamCity不發送電子郵件通知
- 11. 從Jenkins發送電子郵件通知
- 12. TeamCity發送電子郵件FxCop通知
- 13. ClearCase:發送電子郵件通知
- 14. 發送通知電子郵件
- 15. 暴發戶電子郵件通知
- 16. 發送電子郵件通知特權
- 17. 電子郵件通知發送或不
- 18. 觸發電子郵件,如果從谷歌表格值
- 19. 通過宏發送電子郵件在「規則和通知」
- 20. 更改配置以觸發電子郵件發送自動化測試結果
- 21. Apps新建文檔中的單元格更改腳本電子郵件通知
- 22. 在Hudson發送測試郵件時發生錯誤電子郵件通知
- 23. 發送通知電子郵件,如果進程不運行,
- 24. 如果url關閉,發送電子郵件通知的程序
- 25. 乘客錯誤發生時通過電子郵件通知
- 26. 上的觸發發送郵件的發生(和電子郵件犯規發送)
- 27. 發送電子郵件時用電子郵件更改名稱
- 28. Google Apps腳本觸發電子郵件通知
- 29. 從觸發器發送電子郵件
- 30. 觸發失敗發送電子郵件
請告訴我們你到目前爲止做了什麼。你有什麼具體問題嗎? – cel 2015-04-03 17:19:57
您是否瀏覽了Apps腳本文檔?發佈一些代碼,直到現在你已經嘗試過。閱讀此文檔:https://developers.google.com/apps-script/guides/triggers/#onedit – KRR 2015-04-03 17:21:13