A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
So you got this far
=HYPERLINK("mailto:" &B6,C6)
B6 = ******@outlook.com
C6 = Dude
So need to keep going with the following:
First, You need to have a spreadsheet that has a column of all the names in one column and all the email addresses in another column. Unfortunately, there was something call SmartTags that would have done exactly what you want in Office 2007, but it was eliminated in 2010.
No matter what you do this spreadsheet, this will help you.
If you have all of these listed in your contact list
http://www.howto-outlook.com/howto/exportcontacts.htm
2 options for macro
You could use Event macro. This is a macro that is active all the time. You place this macro in the workbook module not in a regular macro module. Everytime you hit enter, it will check to see if there is a match between the value you entered and the names in the list. If you only put the names in one column like column A, then you can set the macro to only work when you enter data in column A
Your other macro option is just keep typing names until you are finished typing names, then select those names to apply the macro.
Here is an example of using such a list in Excel for a word document. That should give you a good idea of something to start with.
Now your other issue is that you want to automatically send an email.
That is another issue. If you look at the link above. That is an example of Word calling Excel to use a list. To send the email you need to call an Outlook object in Excel.
There are some examples out there. You need to make sure that in VBA that you set up a reference to Outlook or it will not work.
http://www.jpsoftwaretech.com/excel-vba/send-email-from-excel/
Scroll down to
Mail Worksheet Using Outlook
Look at
Sub
MailSheet(wksht ``As
Excel.Worksheet, recipAddress ``As String``, _
``msgBody ``As String``, msgSubject ``As String``)
You would call this macro in another macro with recipAddress=ActiveCell.value which is the one with the email address.