My goal, simply put, is to highlight a cell range on one google sheet (the 'source') and move it to another, different google sheet document (the 'target'). The Target has multiple sheets(tabs?) and new ones are added often.
IMPORTANT: To be clear, I am NOT copying from one sheet to another sheet, in the same document. I am copying from one google sheet document, to a complexity different google sheet document.
Currently, I have code that allows users to:
- Highlight a cell range in the SOURCE google sheet.
- Select the custom menu option.
- Upon selecting the custom menu option, the data in the highlighted cell range is copied to the TARGET google sheet.
Currently, the the "Target" is hardcoded.
What I want to do is to build a Radio Button list. One Radio Button for every Sheet that exists in the TARGET google sheet. Allow the user to choose one, then move the data to that specific Sheet, when they press the "OK" button.
I've searched for a while, but I'm unable to find anything about even putting radio buttons in a google sheets dialog, let alone build the radio button list based on sheets that exist in another google sheet document.