有人知道如何在 Visual Basic 中模拟选项卡和向下箭头按钮吗?我在 VB 中使用 Internet Explorer 对象
问问题
1578 次
1 回答
0
Sendkeys 成功了
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
于 2013-01-09T01:59:51.337 回答