google sheets onedit execute all custom functions code example
Example: create a function that uses onOpen
var onFrameOpen = function() {
$svs('framename','Open Frame');
}
var onFrameOpen = function() {
$svs('framename','Open Frame');
}