Reputation: 309
I am trying to enter a value in the text box using excel vba scripts. Iam using the below code for the same
Dim sel3 as WebElement
sel3 = driver.findElementByName("*amtfld" & l).SendKeys "100"
But it is giving me SYNTAX ERROR during compilation
Upvotes: 0
Views: 745
Reputation: 326
As Tom said, SendKeys is a procedure. Just do it, don't expect for an answer.
Here is an example : How to use sendkeys
Just put the cursor & focus where you want, and then make your
SendKeys "100"
after.
Upvotes: 1