Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Guys i need to Click on web page button using Excel Macro.
the source is as follows <button type="button" class="button" onMouseOver="this.className='buttonOn'" onMouseOut="this.className='button'" onClick="submitForm('search.basicSearchForm','sear ch.basicSearchValidate');"Search</button My code is Set objCollection = IE.document.getElementsByTagName("button") i = 0 While i < objCollection.Length If objCollection(i).onClick="submitForm('search.basic SearchForm','search.basicSearchValidate');" Then Set objElement = objCollection(i) End If i = i + 1 Wend objElement.Click This is not working.. Please give me ideas(simple though as i am a beginner in this) Mats. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
after click a button(commandbutton), getting the button name | Excel Programming | |||
How Can I Click an un-name IE button via VBA | Excel Programming | |||
Create floating button based on button click in menu | Excel Programming | |||
On Button Click(Help!) | Excel Programming | |||
VBA button click need help. Need LEN help. | Excel Programming |