kpinnisetti
12 years agoContributor
Using Key"[Down] Until particular object is found by its name.
Can any one help me with sample code how to Use Key"[Down]" Until particular object is found by its name and click enter on that particular object. clickItem Method is not available for the dropdown in our application.
In our Application we have a dropdown,the list will be changing dynamically.
Sub PayPlan
Dim DeptName
DeptName = "Operations"
Set txtBoxDept = Aliases.txtBoxPayPlanSearch
txtBoxDept.keys(DeptName)
txtBoxDept.Keys("[Down][Enter]")
End sub
In our Application we have a dropdown,the list will be changing dynamically.
Sub PayPlan
Dim DeptName
DeptName = "Operations"
Set txtBoxDept = Aliases.txtBoxPayPlanSearch
txtBoxDept.keys(DeptName)
txtBoxDept.Keys("[Down][Enter]")
End sub