Does anybody know how to emulate the tab and down arrow buttons in Visual Basic? I am using the Internet Explorer object in VB
Sendkeys did the trick
Dim numberoftabs as Long
Dim numberofdownarrows1 as long
numberoftabs = yourvalue
numberofdownarrows1 = yourvalue
Application.SendKeys "{TAB " & numberoftabs & "}", True
Application.SendKeys "{DOWN " & numberofdownarrows1 & "}", True
Application.SendKeys "~", True
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.