javascript - IE Button click (on loop) with VBA -


i'm having issues executing following task:

  1. working - open ie , navigate intranet webpage (its database)
  2. not working - click "delete" button first row of data
  3. not working - wait ie refresh and
  4. not working - click "delete" button second row first.

i want execute click-loop goes through entire webpage searching "delete buttons". using getelementbyid gives me run time error 424 object required error.

this i'm getting stuck at. appreciate help!!!

here code i'm using:

    sub website()          dim ie object, doc object, username object, password object, strcode string          set ie = createobject("internetexplorer.application")         set ie = new internetexplorermedium         ie.visible = true        ' ie open webpage page            ie.navigate "http://abc.com.au"              while ie.readystate <> 4: doevents: loop    end sub 

do use ie.document.getelementbyid???

there has document in between.

and should perhaps handle error if doesn't find element.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -