Is there a way to make phone numbers clickable in Google Docs similar to MS Word like here?
Please note that this can be done in Google Sheets using:
=HYPERLINK("tel:1234567890", "Call Me")
I am asking for Docs.
Thank you.
Is there a way to make phone numbers clickable in Google Docs similar to MS Word like here?
Please note that this can be done in Google Sheets using:
=HYPERLINK("tel:1234567890", "Call Me")
I am asking for Docs.
Thank you.
Google Docs now supports call/telephone links by adding a hyperlink with tel
followed by the phone number.
Example
tel:1234567890
tel:+11234567890
When clicking the link the browser displays a call prompt.
Unfortunately, there's no direct way of doing this, but you can use Apps Script and deploy a web application that will solve your issue.
You will have to use this script using Apps Script script editor:
function doGet(e) {
return HtmlService.createHtmlOutput("<script>window.location.href='tel:" + e.parameter.tel + "';</script>");
}
The code contains a doGet(e)
function which sends an HTTP GET
request and returns a new HtmlOutput
object, which has as a parameter the phone number of your choice.
Afterwards, you have to deploy this script as a web application and after that, you will get a URL corresponding to it.
If you want to use it in Google Docs, you can create a link made out of the following link:
your-web-application-URL+?tel=the-phone-number-you-want
.
Furthermore, here are some links for you that might be of help:
© 2022 - 2024 — McMap. All rights reserved.
=HYPERLINK("tel:1234567890", "Call Me")
doesn't work anymore. – Roundel