+ Reply to Thread
Results 1 to 2 of 2

auto mailing with attachment

  1. #1
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    auto mailing with attachment

    Hi friends,

    I am very new outlook programming , i am think of automating few of my mails. i ahve folder in D:\Pdf where it contains lots of pdf with names , and fro that names , i have emails ids in excel . when could run a macro in excel can it refer to fiel name and pick the adress from the excel file and send the mail correspondingly , let me know whether this is possible.

    format in excel
    Sl No Producer Name To Mail address Cc Mail address
    1 Ajgallagher [email protected]
    2 Ajg-glendale [email protected]

    if you see here producer name "ajgallagher" and my attachment pdf file will also have the same name

    thanks in advance for your ideas

  2. #2
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Re: auto mailing with attachment

    Hi,

    under producer name you'll need to specifaid whole path, not just file name. As per bottom VBA ...

    | SI No | Producer Name | To | Cc |
    | 1 | D:\Pdf\Ajgallagher.pdf | [email protected] | [email protected] |

    Please Login or Register  to view this content.
    ... play with this. You need to add Cc field. i'm using id directly in VBA. Hope this helps.


    Cheers, Marko

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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