I would like to restrict an onEdit function to a specific cell (A1) in a specific sheet (Sheet1). So the code will only run when I make an edit in A1/Sheet1. My code below works for A1, but in all sheets.
function onEdit(e) {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var range = e.range
Logger.log(range.getA1Notation())
if(range.getA1Notation() == "A1"){}