Consulting

Results 1 to 2 of 2

Thread: VBA used to retrict emails to contacts

  1. #1
    VBAX Mentor
    Joined
    Aug 2010
    Posts
    457
    Location

    VBA used to retrict emails to contacts

    Hi, I would like to create a button an email to sender from an ms access 2007 form. In other words I would like to be able to only send emails to my contacts who are only stored in ms outlook via MS Access 2007. Have you any ideas of code I can use to achieve this?


    Thanks for your contributions

  2. #2
    VBAX Expert JP2112's Avatar
    Joined
    Oct 2008
    Location
    Astoria, NY
    Posts
    590
    Location
    It depends on how you are sending the email.

    If you are using the Outlook object model, then use the ItemSend Event to compare your recipients against your contact list after the message is sent.
    Regards,
    JP

    Read the FAQ
    Getting free help on the web
    My website
    Please use [vba][/vba] tags when posting code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •