how can i do this i get an error


Dim withevents IE As InternetExplorer
Private Sub Form_Load()
Set IE = CreateObject("InternetExplorer.application")
IE.Visible = True
End Sub