Closed angristan closed 6 years ago
Double check that the sheet is called Rates and not the spreadsheet file.. Had that error if you don't have the sheet created
@solifugo I'm sorry, what's the difference between the two?
Thanks for the help
@Angristan The top left of Google Docs displays the file name, this can be whatever you want. The bottom of the page will have 'Sheet1' by default, this is what you rename to Rates.
On this image, the spreadsheet is called "inspection checklist" and the sheet "sheet1"
Make sure your sheet is called Rates
Ah! I understand now, thanks!
BTW, does one of you know I can do this
Transform this line :
ssRates.getRange('B1').setValue(BTC);
Into something that would put the value of BTC into the cell of column, say D (or whatever, I want to define it), and line were the cell of one column would be = to BTC ?
eg:
Here the price would go on D6, but if I sort lines in alphabetical order based on column A, my BTC price would go on D2, but the script would still write on D6 if I set ssRates.getRange('B1').setValue(BTC);
.
I don't know if I'm clear enough :p
Thanks!
I created a sheet called
Rates
and gave access the script access to it.What am I doing wrong?
Thanks