My script is changing the value of a cell from a static value to a formula:
=hyperlink("https://docs.google.com/document/d/someID/edit?usp=drivesdk","static value")
Set by a google app script:
cell.setFormula("=hyperlink(\""+file.getUrl()+"\";\"" + cell.getValue() + "\")");
However, the cell is not a link. When I rightclick the cell, I do get an option to Convert to link
. When I click this, I get the result I want (cell text = blue and I'm able to open the link by clicking it).
Can I do this step of converting to a link by use of Google App Scripts?