Tuesday 15 June 2010

excel vba - Internet explorer VBA - couldn't enter value in search box which is in top frame -


Hi, I am trying to select a search button in the site and am trying to enter the price, but it is not working for me.

& lt; Td width = "64" nowrap = "nowrap" align = "center" & gt; & Lt; Input type = "text" size = "11" value = "search" name = "QUICKSEARCH_STRING" id = "QUICKSEARCH_STRING" class = "form ELM" onFocus = "quickSearchTextOnFocus ();" OnBlur = "quickSearchTextOnBlur ();" OnKeyPress = "Check Return (Event)" style = "font-size: 8pt; limit: 0; margin: 0; padding: 1;" / & Gt; & Lt; / TD & gt; AllClt = ieapp.Document.all.tags ("Input") for each Myclt in AllClt if InStr (myclt.Value, "Search") & gt; 0 then myclt Click GoTo BREAK_LOOP End if 'MsgBox myclt.Name Next'


No comments:

Post a Comment