+ Reply to Thread
Results 1 to 2 of 2

Macro to Send to a Distribution List with a Macro

  1. #1
    Registered User
    Join Date
    10-25-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Macro to Send to a Distribution List with a Macro

    In my Outlook 2007, I have the following Address Book Lists.
    Global Address List
    Contacts
    Pricing (path \\Mailbox-Myname\Contacts\Pricing

    With in the Pricing Address list, I have several Distribution Lists. One I have made named "test" for the purpose of testing this macro.

    I have found this macro to email the workbook. I want to email it to the "Test Distribution List" in the Pricing Address Book List.

    How do I specify the distribution list in the macro? Where I have the .To "Test" does not seem to be picking up the distribution list.

    Please Login or Register  to view this content.
    Last edited by Fotis1991; 10-30-2013 at 09:22 AM. Reason: PLS use code tags around your codes as per forum rules.

  2. #2
    Forum Contributor
    Join Date
    03-12-2013
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2007
    Posts
    230

    Re: Macro to Send to a Distribution List with a Macro

    I haven't tested it, but just looking at your code, I noticed that you forgot the equals sign (=) between .To and "Test".
    Please Login or Register  to view this content.
    Also, when you place 'Test' in quotations, it may be actually trying to send it to the word test. If adding the equals sign didn't fix it, try just typing:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA help to send pdf attachments via Outlook to Excel distribution list
    By jackreacher39uk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-21-2013, 08:14 AM
  2. Email Macro won't Send to Distribution List
    By pladan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 06:43 PM
  3. Excel Button Macro (E-Mail Distribution List)
    By rbpd5015 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2011, 01:27 PM
  4. Code to create PDF, attach to email and send to distribution list
    By tim_chisman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2010, 09:08 AM
  5. Send sheet to selected distribution list using VBA
    By bsnapool in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2006, 09:20 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1