Accessing To & From fields of Email item

  • Thread starter Thread starter Meenu
  • Start date Start date
M

Meenu

I'm using Outlook 2002. I have written a VBA program which
prints out some fields (Subject, To, From) of an email in
the inbox, to a Word program. Everything works fine except
that for the To & From fields I get a dialog box saying "A
program is trying to access your Outlook address book. If
you want to allow access, click Yes".
Is there any way to EITHER not have the dialog box appear,
OR to to be able to 'Click Yes' programatically ?!

Thanks for helping.
 

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

Back
Top