Google Sheet API does not have getFormulaR1C1 fro CellEntry in PHP library -


is there way hyperlink or formula cell?

basically, in worksheet have cell hyperlink formula (=hyperlink('http://blabla.com', 'link1')). when try value of cell gives me visible content ('link1'). there other way have formula instead of visible content?

enter image description here

there's seems way using apps script (however you're using php so..)as mentioned in so thread:

function geturl() {   var range = spreadsheetapp.getactivesheet().getactivecell();    //logs - google   logger.log(range.getvalue());    //logs - =hyperlink("http://www.google.com", "google")   logger.log(range.getformular1c1());    //simple regex first quoted string   var url = /"(.*?)"/.exec(range.getformular1c1())[1];    //logs - http://www.google.com   logger.log(url); } 

Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -