I have the following block of code that I am using to insert a drop down box into one of my cells. I want to replace the A10 with a row number and column number.
So there are two things I would like to be able to do. Either
a> figure out a way to do SpreadsheetApp.getActive().getRange(1,10) or
b> if there's a way I can get the location of my cell using Excel like notation. What I mean by that is, if my cell A10 contains the value 'Test', i would like to figure out the cell details (A10) of where 'Test' resides in my Google spreadsheet. Either of them would help me.
var cell = SpreadsheetApp.getActive().getRange('A10');
var rule = SpreadsheetApp.newDataValidation().
requireValueInList(['Yes', 'No'], true).build();
cell.setDataValidation(rule);