excel - Using VBA to scrape data -


i trying pull price data tropical veggie ($5) code below using vba

h2 class="ng-binding" meat lovers/h2 h3 class="ng-biding" ng-show="canshowprice"$9.00/h3 h2 class="ng-binding"tropical veggie/h2 h3 class="ng-biding" ng-show="canshowprice"$5.00/h3 

here code

dim tropicalveggie string tropicalveggie = ie.document.getelementsbyclassname("ng-binding")(0).innertext 

i think part of problem there multiple class names "ng-binding". have no idea


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -