Last active
March 15, 2019 14:00
-
-
Save mogsdad/3bef949fcae5b4411524 to your computer and use it in GitHub Desktop.
Function written for http://stackoverflow.com/a/31277867/1677912
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Return the time that the referenced cell or range was last changed. | |
* Initial use shows current time. | |
* | |
* @param {Sheet3!B32} reference Cell or range to monitor. | |
* @returns The time the reference was last changed. | |
* @customfunction | |
*/ | |
function lastModified( reference ) { | |
// From gist.github.com/mogsdad/3bef949fcae5b4411524 | |
// Surprise - we don't actually care what has changed! | |
return( new Date() ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment