05-14-2008, 03:23 AM
Or you can use a Procedure:
Example:
Example:
Code:
StrURL = InputBox("Enter the URL")
Call InvokeIE(StrURL)
Function InvokeIE(URL)
SET IEObj = CreateObject("InternetExplorer.Application")
IEObj.Navigate URL
IEObj.Visible = True
SET IEObj = Nothing
End Function