Open Internet Explorer web page

User avatar
Peter Kinross
5StarLounger
Posts: 962
Joined: 09 Feb 2010, 00:33
Location: Patterson Lakes, Victoria, Australia

Open Internet Explorer web page

Post by Peter Kinross »

My default browser is FireFox, but there are some sites that only work well with IE. (may their urls fall off and their home pages be consumed by emus!)
I am trying to insert a hyperkink in Word 2003 to go to the web page using IE.
The link I type in is:
C:\ProgramFiles\InternetExplorer\iexplore.exe /https://www.website.com.au/someaddressstuffhere/Home.do
But Word tells me that it "Can't open the specified file."
What am I doing wrong?
Avagr8day, regards, Peter

User avatar
HansV
Administrator
Posts: 78621
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Open Internet Explorer web page

Post by HansV »

I don't think you can do this with a hyperlink. You could use a macro button instead that runs a macro like this:

Code: Select all

Sub OpenSiteInIE()
  Dim strURL As String
  strURL = "https://www.website.com.au/someaddressstuffhere/Home.do"
  Shell """C:\Program Files\Internet Explorer\iexplore.exe"" " & _
    strURL, vbMaximizedFocus
End Sub
The extra quotes around the path to internet explorer are needed because the path contains spaces.
Best wishes,
Hans

User avatar
Peter Kinross
5StarLounger
Posts: 962
Joined: 09 Feb 2010, 00:33
Location: Patterson Lakes, Victoria, Australia

Re: Open Internet Explorer web page

Post by Peter Kinross »

Thanks Hans.
I think I'll use a shortcut in the Start Menu instead.
Avagr8day, regards, Peter

User avatar
HansV
Administrator
Posts: 78621
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Open Internet Explorer web page

Post by HansV »

That is indeed easier. (I thought you had a specific reason for wanting it in Word)
Best wishes,
Hans

User avatar
Leif
Administrator
Posts: 7218
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: Open Internet Explorer web page

Post by Leif »

Peter Kinross wrote:My default browser is FireFox, but there are some sites that only work well with IE.
Have you tried the IE View add-on for Firefox? It forces selected sites to open in IE.
Leif

User avatar
Peter Kinross
5StarLounger
Posts: 962
Joined: 09 Feb 2010, 00:33
Location: Patterson Lakes, Victoria, Australia

Re: Open Internet Explorer web page

Post by Peter Kinross »

Leif wrote:
Have you tried the IE View add-on for Firefox? It forces selected sites to open in IE.
Yep, sure have. Doesn't work with this site though. Well actually it does work, but not 100%. And as it's a bank site it needs to work 100%
Hans wrote:
That is indeed easier. (I thought you had a specific reason for wanting it in Word)
.
This Word doc is where I keep all my references and other important web passwords etc. As I have well over 100 passwords it is convenient to have them all in one place. I do use RoboForm, but there are some web sites that it doesn't work on. Plus RoboForm only works on the web, it's no good elsewhere. Thus the Word doc is where I start to go to quite a lot of web pages. It would have been handy having that hyperlink pull up IE. However, I will probably end up using that VBA code you provided.

Thanks all.
Avagr8day, regards, Peter

User avatar
stuck
Panoramic Lounger
Posts: 8191
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Open Internet Explorer web page

Post by stuck »

Peter Kinross wrote:This Word doc is where I keep all my references and other important web passwords etc. As I have well over 100 passwords it is convenient to have them all in one place...... Thus the Word doc is where I start to go to quite a lot of web pages.
Have a look at Password Safe. With it you can securely store your passwords together with other things like associated URLs & email addresses.

Ken
You do not have the required permissions to view the files attached to this post.

User avatar
Peter Kinross
5StarLounger
Posts: 962
Joined: 09 Feb 2010, 00:33
Location: Patterson Lakes, Victoria, Australia

Re: Open Internet Explorer web page

Post by Peter Kinross »

Thanks for that Stuck.
Word is OK for what I want -- everything there on one doc. Everything that is except hyperlinks to open IE.
Avagr8day, regards, Peter

User avatar
stuck
Panoramic Lounger
Posts: 8191
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Open Internet Explorer web page

Post by stuck »

At the risk of repeating myself, consider Password Safe, everything in one place AND hyperlinks that will open in your default browser at the click of a button.

Ken

User avatar
HansV
Administrator
Posts: 78621
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Open Internet Explorer web page

Post by HansV »

Er... Peter wants some of his hyperlinks NOT to open in his default browser Firefox, but in Internet Explorer, since they require IE to work correctly.
Best wishes,
Hans

User avatar
stuck
Panoramic Lounger
Posts: 8191
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Open Internet Explorer web page

Post by stuck »

:blush: oops, sorry :flee: