I'm new here, and I have my first question regarding the following post here:Add a script trigger to Google Sheet that will work in Android mobile app
function onEdit(e) { if (e.range.getA1Notation() == 'B1') { if (/^\w+$/.test(e.value)) { this[e.value](); e.range.clear(); } }}function insertSomething() { var sheet = SpreadsheetApp.getActiveSheet(); sheet.getRange(2,3).setValue('inserted something');} function convertSomething() { var sheet = SpreadsheetApp.getActiveSheet(); sheet.getRange(3,3).setValue('converted something');} This script worked for me for a non-merged cell range which is 'B1'. I need this script to work for a merged cell range like 'B1:D4'.I merged all range 'B1:D4' and then I modified the script to run for this range, but the result was always - the merged cells were unmerged and each single cell in the range inherited the data validation of the initial 'B1' cell that I set at the very beginning.
So my question is: how to change the above script so it will work for a range of multiple merged cells like 'B1:D4', not only for a single cell - 'B1'? (in other words: how to make 'B1:D4' to behave like a single cell 'B1' in the above mentioned script). Thank you for help!
P.S. I apologise if this question is breaking the rules of this site.