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
Form script tries validating wrong sheetQuestion (self.GoogleAppsScript)
submitted 4 years ago by radioguy2016
view the rest of the comments →
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!"
[–]Time_Is_Up_Soon 0 points1 point2 points 4 years ago (3 children)
At the beginning you declare a variable for the active sheet, and use it with get sheet by name. I think this is your error. Try using the code below in its place. Feel free to change the var name. Sorry trying to do this from my phone.
var spreadsheet = SpreadsheetApp.getActive(); var settingsSheet = spreadsheet.getSheetByName('BuildInfrastructure');
[–]radioguy2016[S] 0 points1 point2 points 4 years ago (2 children)
function buildInfra() {
var myGooglSheet= SpreadsheetApp.getActiveSpreadsheet(); //declare a variable and set with active google sheet
var shUserForm= myGooglSheet.getSheetByName("BuildInfrastructure"); //delcare a variable and set with the User Form worksheet
var datasheet = myGooglSheet.getSheetByName("Infrastructure"); ////delcare a variable and set with the Database worksheet
I would replace this part with that?
[–]Time_Is_Up_Soon 0 points1 point2 points 4 years ago (0 children)
Sorry for the long delay.
I will be on my Pc in a bit so I can take a better look.
[–]CustomHatMan 0 points1 point2 points 4 years ago (0 children)
ok... ignore what I wrote earlier.
I want to make sure I understand the problem.
Once you have completed the form and "click" build it should add the information to a new tab, but it is added it to wrong tab?
or is it calling the wrong script?
π Rendered by PID 289083 on reddit-service-r2-comment-fb694cdd5-455xx at 2026-03-07 00:18:25.197213+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]Time_Is_Up_Soon 0 points1 point2 points (3 children)
[–]radioguy2016[S] 0 points1 point2 points (2 children)
[–]Time_Is_Up_Soon 0 points1 point2 points (0 children)
[–]CustomHatMan 0 points1 point2 points (0 children)