How to set a trigger on a script to execute a function at a particular event.
Question:
How to set a trigger on a script to execute a function at a particular event.
Solution:
To set the trigger you have to go to "Script editor" and there you have to click on the trigger icon below the "Publish" tool bar command. Have a look at the screenshot below:
Then click on "Add a new trigger", then in Run select "yourfunction" and in Events click on "Time-driven" and then select at whatever frequency you want to execute this trigger. Have a look at the screenshot below:
I hope this script would have solved your problems to set the trigger on spreadsheet that will execute on a specified event.
I hope the above solution will help you, and if you need more help then please do comment below on this blog itself I will try to help you out.
Thanks,
Kishan,
iGoogleDrive
ReplyDeleteHow I can know which user modified the row?... My script only work for my user but not when other collaborator modify the spreadsheet and i want total modifier list for particular cell (Like: NAME , TIME and what message they changed before msg and after modifymsg)