Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

0 Is there a function where if you modify a certain cell that is linked to that sheet, will delete the contents of another cell within that row

$
0
0

Here is a code I found but can not get it to work. I think it is because the cell that is being modified is the cell from another sheet that is linked to the sheet where I want the cells to be deleted.

function onEdit(e){  if(e.range.getA1Notation() == 'A1'&&       e.range.getSheet().getName() == 'Sheet 1'    )     e.source.getRange('B1').clear()}

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>