i am looking for solution to merge text fragements in Apps script to automate a process. I have 3 sheets (sheet_1, sheet_2,sheet_3). In each of the sheets i have 10 cells (A1:A10) to be filled by the user. After the 10th cell has been filled, the 2nd sheet (sheet_2) is to be called via the script. the procedure starts in cell A1 and ends in A10, similar to sheet_1.
function myFunction() {
var feature_1 = "sheet_1"
var feature_2 = "sheet_2"
var feature_3 = "sheet_3"
var column = 5
var feature_xx = "feature_"
for (var i = 1; i <=10; i+1) {
var feature = feature_xx.concat(i)
for (var row=1; row <=10; row+1) {
cell = SpreadSheetApp.getActive().getSheetByName(feature_1).getRange(row,column).activate();
// set rule for each cell that is activated
var rule = SpreadSheetApp.newDataValidation()
.requireNumberBetween(1,20)
.setAllowInvalid(false)
.setHelpText("Number must be between 1 and 20")
.build();
cell.setDataValidation(rule);
}}}
Sheet1!A10
has been filled in, automatically activates cellSheet2!A1
to let the user continue input there? Please edit the question and clearly tell what you are trying to accomplish with the procedure you describe.