I have a spreadsheet that contains a named range. How do I read the value of the referenced range from the api?
I have tried the
service.get_spreadsheet_values(doc_id, range) example.
But if range is specified as 'myspecialrange' then I get
badRequest: Unable to parse range: 'REHTEST'
I've been using the getNamedRanges from the javascript APP scripting environment and now needs this from the Rest API.
rangeinservice.get_spreadsheet_values(doc_id, range)asREHTEST. Take note that doc_id must be thespreadsheet IDand therangeis the cells, rows or columns where you will be getting a value, example,Sheet1!A1:A2. In this scenario you will be getting the value from the cellsA1toA2located in theSheet1under to the spreadsheet ID you have specified. See this SO post.