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

Script not "activating" cell for data entry

$
0
0

I have a script set that unhides a page and selects a cell for editing. However, I notice that when the script runs, I have to "select" (click on) the cell again to allow for data to be written to that cell. Is there a better way than the code I have set running as seen below?

function class1() {

var spreadsheet = SpreadsheetApp.getActive(); spreadsheet.getRange('A1').activate(); spreadsheet.setActiveSheet(spreadsheet.getSheetByName('Class 1'), true); spreadsheet.getRange('A2').activate();

I want it to automatically allow data to be entered in A2 once the script has finished running but it seems to always stop that till I click on it and manually "activate" the cell.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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