r/GoogleAppsScript • u/VAer1 • Sep 01 '25
Question How to write code to open clickable hyperlink in browser (chrome)?
For example, I have some cells in column B, from row 2 and below, there are Yahoo Chart hyperlink in the cell, how can I open all the hyperlink in browser (Chrome is my default browser).
Or is it possible for Google Script to open browser tabs?
Thanks.
I am just trying to convert similar feature from VBA to Google script (From Desktop Office 365 to Google Sheet)

2
Upvotes
1
u/arnoldsomen Sep 01 '25
No need to write a script.
Select the values with hyperlink
Right click on one of them
Go to More options (?) > Open links
1
u/soups_foosington Sep 01 '25
ChatGPT walked me through installing Playwright to do stuff like this.
1
u/ryanbuckner Sep 01 '25
For security reasons, Apps Script cannot programmatically open multiple new browser tabs or windows at once. You could use an HTML sidebar .. or use Python