+ Reply to Thread
Results 1 to 3 of 3

Trying to Email the files in a folder

  1. #1
    Forum Contributor vikas.bhandari's Avatar
    Join Date
    04-07-2006
    Location
    Delhi, India
    MS-Off Ver
    Office 2007 and 2010
    Posts
    303

    Trying to Email the files in a folder

    Hi all,

    I am trying to send the mails containing every unique file as attachments through a VBA program. When I try like following :

    for each i in myFolder.files
    olMailItem.Attachments.Add i, olByValue, "Attachment" ' insert attachment
    next

    it gives me error..here is the complete code:

    Please Login or Register  to view this content.
    Please suggest.

    Thanks,
    Vikas

  2. #2
    Forum Contributor vikas.bhandari's Avatar
    Join Date
    04-07-2006
    Location
    Delhi, India
    MS-Off Ver
    Office 2007 and 2010
    Posts
    303

    resolved

    Resolved!

    Thanks!!!

  3. #3
    Registered User
    Join Date
    01-13-2007
    Posts
    71
    i found your code very interesting, do you mind posting the fixed one??
    thx

    MSP

+ 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