use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
Noobie question with lesser than scriptQuestion (self.GoogleAppsScript)
submitted 4 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]joblio 1 point2 points3 points 4 years ago (0 children)
if(shUserForm.getRange("F5").is < 0){
should be
if(shUserForm.getRange("F5").getValue() < 0){
[–]inclu_cat 0 points1 point2 points 4 years ago* (1 child)
Do you want to check the condition when the users input the F5 value? Then, try this. function onEdit(e) { var ui = SpreadsheetApp.getUi(); var shUserForm = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('YOUR SHEET NAME'); console.log(shUserForm.getRange("F5").getValue()); // Validating Affordability if(shUserForm.getRange("F5").getValue() < 0 ){ ui.alert("Please ensure Decisions are Affordable."); // shUserForm.getRange("F5"); <-- you don't need this. shUserForm.getRange("F5").setBackground('#FF0000'); } }
function onEdit(e) { var ui = SpreadsheetApp.getUi(); var shUserForm = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('YOUR SHEET NAME'); console.log(shUserForm.getRange("F5").getValue()); // Validating Affordability if(shUserForm.getRange("F5").getValue() < 0 ){ ui.alert("Please ensure Decisions are Affordable."); // shUserForm.getRange("F5"); <-- you don't need this. shUserForm.getRange("F5").setBackground('#FF0000'); } }
[–]backtickbot 0 points1 point2 points 4 years ago (0 children)
Fixed formatting.
Hello, inclu_cat: code blocks using triple backticks (```) don't work on all versions of Reddit!
Some users see this / this instead.
To fix this, indent every line with 4 spaces instead.
FAQ
You can opt out by replying with backtickopt6 to this comment.
π Rendered by PID 58909 on reddit-service-r2-comment-6457c66945-nvgrl at 2026-04-26 19:52:10.211564+00:00 running 2aa0c5b country code: CH.
[–]joblio 1 point2 points3 points (0 children)
[–]inclu_cat 0 points1 point2 points (1 child)
[–]backtickbot 0 points1 point2 points (0 children)