Home > Software engineering >  Vba in ie to search box assignment problem?
Vba in ie to search box assignment problem?

Time:11-16


The following code is not available, and a great god taught,

Sub Main ()

Dim ie As Object

Set the ie=CreateObject (" InternetExplorer. Application ")

Ie. Visible=True

Ie. Navigate "http://www.baidu.com"

Ie. Document. GetElementById (" KW "). The Value="https://bbs.csdn.net/topics/123456"


End Sub

CodePudding user response:

Ie. Navigate "http://www.baidu.com/s? The word=123456"

CodePudding user response:

In the event of an documentcolplete assignment;
  • Related