Need some help in parsing HTML

raj249

New Member
Joined
Dec 5, 2013
Messages
9
Hi experts,
I am trying to get some data from a webpage.
My code is working fine on other sites but with this page i am getting run time error 91.

Sample of html

<h2>Impact Hub Honolulu</h2>
<div class="col-xs-12 pade_none verified_date_rs">
<div class="verified_icon_rs"><img src="https://coworker.imgix.net/template/img/space/img_verified_green_arrow.png">Verified</div>
<div class="date_joined_rs"><img src="https://coworker.imgix.net/template/img/space/date_icon_rs.png"><span>Joined October 2017</span></div>
<div class="website-link-text"><a href="http://www.impacthubhnl.com/?ref=coworker" target="_blank"><img src="https://coworker.imgix.net/template/img/space/img_website_link_pic.png"><span>Website</span></a></div>
</div>
<div class="col-xs-12 pade_none much_bord">
<div class="col-xs-12 pade_none muchroom_mail"><i class="fa fa-map-marker"></i> 1050 Queen Street #100, Honolulu, United States</div>
<div class="col-xs-12 pade_none muchroom_mail add-phone-number-con"><i class="fa fa-phone fa-rotate-270" aria-hidden="true"></i> <a href="callto:+8086643306">+8086643306</a></div>





I want the Name ( Impact hub Honululu), Address (1050 Queen Street #100 , Honolulu, United States), Website (http://www.impacthubhnl.com), Telephone (+8086643306) from this HTML but couldn't

I tried using getelementsbyclassname, tagname, id but all failed.

Any clues?

Thanks in Advance
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,909
Messages
6,175,313
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top