Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Auto-update #19

Closed
avlysenko opened this issue Dec 30, 2015 · 3 comments
Closed

Auto-update #19

avlysenko opened this issue Dec 30, 2015 · 3 comments

Comments

@avlysenko
Copy link

Hi!

Thx for your code!

I have question about auto-update.

Try run by timer this:
function myUpdate() {

var ss = SpreadsheetApp.getActiveSpreadsheet();
ss.setActiveSheet(ss.getSheetByName("AUPD"));

var testIt = ImportJSON("***");

var cell = ss.getRange("A1");
cell.setValue( testIt );

}


But result only in one cell A1.


How to properly do an automatic update on a timer?

@avlysenko
Copy link
Author

Is it possible run ImportJSON from other function and paste result in cell?

@bradjasper
Copy link
Owner

Hello, this should be possible. Have you tried using the Logger to debug?

@xyzzy529
Copy link

See issue #49 as the updated version of this question.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants