Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course

How second Tab Google Search Put?

0

I write code but its first session is ok but next session in this new tab open and site open but its search box not fill like first session fill.

So please guide how its posible .

Sub FillinternetForm()

Dim ie As Object

Set ie = CreateObject("Internetexplorer.Application")

ie.Navigate "https://google.com"

ie.Visible = True

While ie.Busy

DoEvents 'wait until IE is done loading page.

Wend

ie.Document.all("lst-ib").Value = "Fast Sub"

ie.Navigate "https://google.com", CLng(2048)

ie.Document.all("lst-ib").Value = "Fast slow Sub"

End Sub

Answer
Discuss



Answer the Question

You must create an account to use the forum. Create an Account or Login