I am currently working on a web project that relies on Google Spreadsheet as its foundation. I am following the Browser quickstart method outlined at https://developers.google.com/sheets/api/quickstart/js.
My goal is to be able to select a range on my sheet and then click on a button. I want to create a function that can detect the active range's A1 notation, save it in a variable, and display it in an input field. Many users in the script editor community have mentioned a "getActiveRange" function, but unfortunately, this function is only accessible within the script editor and not from my js file.
Is there an alternative method available to retrieve the A1 notation of my selected range?