Newbie: Accessing the current mail item from VBA

E

Emil

Hi,

I've added a macro to a button on the toolbar for mail items. When I press
the button the macro is run.
So far I've only got a: Msgbox "Hello World!"

I want to access the mail object where the button was pushed through VBA,
but don't know how :-(

I guess it's really simple, since the reason for VBA for Outlook is to work
with mail item etc.

BR
Emil
 

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