Internet Explorer to Mozilla

adamsm

Active Member
Joined
Apr 20, 2010
Messages
444
Hi anyone,

How can the following line be changed if I want to open a link in mozilla firefox instead of internet explorer.

Code:
Set ie = CreateObject("InternetExplorer.Application")
Thanks in advance.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
What about using the shell command?

Sub shel11()
FI = Shell("C:\Program Files\Mozilla Firefox\Firefox.exe", 1)
End Sub
 
Upvote 0
Thanks for the help. But I'm getting type mismatch debug message. What may be the reason for this?

Here is the code lines above the line which I had posted previously
Dim ie As Object, oDoc As Object
Dim ieForm As Variant
Dim WebPage As String

Any help would be kindly appreciated.
 
Upvote 0
Have you tried just the shell command which I sent prior to adding this to your code? If that works (which it should do as I have tested it) then you can call that procedure into your other.
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

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