Open multiple browser windows with different URLs

JazzSP8

Well-known Member
Joined
Sep 30, 2005
Messages
1,233
Office Version
  1. 365
Platform
  1. Windows
Hey All

What I'm trying to do is use Excel to open 4 different instances of the default browser, each with a different URL

So, in Cell A1 I've got something I want to search for.

I want to be able to click a button and open 4 different browser windows, one going to Google, one going to Bing etc etc

Normally I just use FollowHyperlink when I just want to open a website but it just adds new tabs instead of new windows, even if I specify NewWindow

VBA Code:
Sub TestSearch()
    ActiveWorkbook.FollowHyperlink Address:="https://google.co.uk", NewWindow:=True
    ActiveWorkbook.FollowHyperlink Address:="https://bing.co.uk", NewWindow:=True
End Sub

I've Googled and found other code that does it through shell commands but that does the same thing, just adds more tabs.

Can anyone help at all?

Thank you.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I read that when doing research for this question. I'll leave it to you to find that the same way I did as I have no way to back track and find it.
 
Upvote 0
I read that when doing research for this question. I'll leave it to you to find that the same way I did as I have no way to back track and find it.

I already did a search before posting my comment and couldn't find any such links to substantiate your claims. That's why I asked you to provide the relevant link. Anyways, it's not my job to back up your claims. Since you are the one who purported to read such documentation, I asked you to provide the relevant source. That is all.
 
Upvote 0
I didn't claim anything other than to have read it. I don't claim it's true.
Over and out.
 
Upvote 0

Forum statistics

Threads
1,223,868
Messages
6,175,082
Members
452,611
Latest member
bls2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top