Help with Outlook->Excel in VB

A

Al

Hi there

I'd like to have a macro which will allow you to move the name and email of
a person you receive an email into an excel visual basic form. If I can get
the data into a public variable in excel, I can put it in the form myself,
but how to get to that point?

I managed to get as far as doing something like this :

Set objOutlook = CreateObject("Outlook.Application")
Set objItem = objOutlook.ActiveInspector.CurrentItem
cfullname = objItem.SenderName

but all that gets me is the senders name. I have no idea how to transfer
this to the modules and forms I have in excel, nor how to get the all
important email address.


.....Help!

Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top