Copy email address from ie using list of employee numbers back to excel

Mr hewlee

New Member
Joined
Dec 19, 2018
Messages
1
Hi all, this is my first post however I am a frequent visitor of the site due to the knowledge and information. I am fairly new to VBA and usually find answers on here to enable me to proceed however on this occasion I haven't been able to.

I have a table in which column A has a list of employee numbers (the number of which varies everyday).

I am trying to get the email address from our internal phonebook held on internet explorer.

So what I am trying to do is:

Take the employee number from a list in column A.

Find in ie phonebook (a constant will be http//'thisurl/adcd***(then varies with the employee numbers')***.

Locate email (there will only be one).

Paste the email address back to a cell in excel (it will replace the employee number).

Loop through the remaining employee numbers until the last populated cell.

Eventually I would like to then create an employee to those employees with text and then a table from excel but that isn't as necessary at the moment.

Apologies if this is not specific enough but I am limited as to what information I can give.

I have found scenarios to find emails on specific constant URLs but have not been able to adapt.

Many thanks in advance

Ps go easy on me.... I'm new :)
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,223,723
Messages
6,174,113
Members
452,545
Latest member
boybenqn

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