Shokan_Prince
New Member
- Joined
- Aug 23, 2013
- Messages
- 26
Hello everybody 
After a long research I cannot figure it out how to write in a search box via sendkeys. This search box doesn't have a search button, it works with an auto complete, and that's why I need to simulate the keystrokes.
Because in this way
Doesn't work
So basically I need to write letter by letter for the autocomplete to work...
Thanks in advance for any help...

After a long research I cannot figure it out how to write in a search box via sendkeys. This search box doesn't have a search button, it works with an auto complete, and that's why I need to simulate the keystrokes.
Because in this way
Code:
With IE
.Navigate Url
.Visible = True
While .Busy Or .ReadyState <> READYSTATE_COMPLETE: DoEvents: Wend
Set HTMLdoc = .Document
End With
Set inputelements = HTMLdoc.getElementById("filter-name")
inputelements.innerHTML = "turbo"
inputelements.outerText = "turbo"

So basically I need to write letter by letter for the autocomplete to work...
Thanks in advance for any help...