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.
 
Back
Top