Get Url from Excel Cell, Get Defined HTML Object (table element or div) Inner Text and Write to an row range

CanBilgekan

New Member
Joined
Jan 15, 2015
Messages
5
Hello,

My Excel table column contains web url's.
Need to VBA code to get spesific html tags inner text and write them to in my row range.[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Links[/TD]
[TD]data1[/TD]
[TD]data2[/TD]
[TD]data3[/TD]
[TD]data4[/TD]
[TD]data5[/TD]
[/TR]
[TR]
[TD]www.abc.com/?d=123 [/TD]
[TD]abc[/TD]
[TD]green[/TD]
[TD]table[/TD]
[TD]34[/TD]
[TD]%65[/TD]
[/TR]
[TR]
[TD]www.abc.com/?d=124[/TD]
[TD]def[/TD]
[TD]blue[/TD]
[TD]chair[/TD]
[TD]63[/TD]
[TD]%66[/TD]
[/TR]
[TR]
[TD]www.abc.com/?d=125[/TD]
[TD]tht[/TD]
[TD]yellow[/TD]
[TD]wall[/TD]
[TD]85[/TD]
[TD]%44[/TD]
[/TR]
[TR]
[TD]www.abc.com/?d=126[/TD]
[TD]ghj[/TD]
[TD]black[/TD]
[TD]pipe[/TD]
[TD]74[/TD]
[TD]%88[/TD]
[/TR]
[TR]
[TD]www.abc.com/?d=127[/TD]
[TD]rer[/TD]
[TD]purple[/TD]
[TD]baloon[/TD]
[TD]55[/TD]
[TD]%77[/TD]
[/TR]
</tbody>[/TABLE]


Thank you in advance.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,710
Messages
6,174,019
Members
452,542
Latest member
Bricklin

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