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
Post a Comment