I treid this code to print the data to google texbox search by using vba but didn't success. and it shwo me this message:Method document of object IWebBrowser2 failed
Code:
Set appie = CreateObject("INTERNETEXPLORER.APPLICATION")
appie.navigate "http://www.google.com"
appie.Visible = True
appie.document("q").Value = "mrexcel"