View Full Version : Open internet explorer window from VBA..


electro
07-04-2007, 05:38 AM
I have tried many times to open a webpage in internet explorer with some code but nothing ever happens. The code seems to be correct so there should not be any problems.
Shell "c:\program files\internet explorer\iexplore.exe " & Me.Websida, vbMaximizedFocus
Where do I think wrong?

ted.martin
07-04-2007, 05:52 AM
How about a command button with the HyperlinkAddress property set to

http://www.bbc.co.uk

electro
07-04-2007, 09:49 PM
How about a command button with the HyperlinkAddress property set to

http://www.bbc.co.uk
That doesnt work.. already tried that. "
This object doesnt support this method"

boblarson
07-04-2007, 10:18 PM
Don't use the Shell, you should be able to just use

FollowHyperlink "http://YourURLHere"