I have xls file, with many phonenumbers in column A. Can be different amount, so a loop is needed.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]08100100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]08199999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]08199919[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Those together with the string: http://personer.eniro.se/resultat/
will find a web page. Eg http://personer.eniro.se/resultat/0810000
Each web page with corresponding phonenumber will have certain information that i would like imported in column B, C, D and so on - next to its corresponding phonenumber. The span-tags and classes of interest (or the values in the tags, here as ?-marks):
class="given-name">????<
class="family-name">???????<
class="street-address">????????<
class="postal-code">??????<
class="locality">??????<
class="geo">????<
class="latitude">??.??????<
class="longitude">??.??????<
Some will not find a web page, since the phonenumber is not registered, in that case it would be nice if each column was given a string; notFound. Also if any web page result wont have eg 2 of the above, like the latitude and longitude.
How can this be done? The computers who should be running this VBA have very limited access or none to install any library or software. It needs to be able to do this from a Windows XP OS with already installed MS Excel 2010 installed.
Any ideas?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]08100100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]08199999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]08199919[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Those together with the string: http://personer.eniro.se/resultat/
will find a web page. Eg http://personer.eniro.se/resultat/0810000
Each web page with corresponding phonenumber will have certain information that i would like imported in column B, C, D and so on - next to its corresponding phonenumber. The span-tags and classes of interest (or the values in the tags, here as ?-marks):
class="given-name">????<
class="family-name">???????<
class="street-address">????????<
class="postal-code">??????<
class="locality">??????<
class="geo">????<
class="latitude">??.??????<
class="longitude">??.??????<
Some will not find a web page, since the phonenumber is not registered, in that case it would be nice if each column was given a string; notFound. Also if any web page result wont have eg 2 of the above, like the latitude and longitude.
How can this be done? The computers who should be running this VBA have very limited access or none to install any library or software. It needs to be able to do this from a Windows XP OS with already installed MS Excel 2010 installed.
Any ideas?
Last edited: