I recently started messing around with google script for spreadsheets and I was wondering if there is a way to change a cells value based on the currently selected cell? For example, if the cell displaying the row number is in A1 and the user highlights B8, A1 would display '8'. Is that even possible?
Flipping through the google apps-script spreadsheet services page and I noticed a class called .getActiveCell and I'm assuming that would be a key part but I'm kind of lost. Can anyone point me in the right direction?
Thank you for any help.