+ Reply to Thread
Results 1 to 5 of 5

Outlook VB Code to export attachment

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    3,804

    Outlook VB Code to export attachment

    Hello:


    I have 3 accounts setup in Outlook email with Inbox and subfolders.

    Account 1 : xyz@gmail.com
    Account 2 : xyz@bellsouth.com
    Account 3 L abc@comcast.net

    I need outlook VB Code to export all attachment from xyz@Gmail.com, Inbox/Subfolder1 to C:\EmailAttachment\xyz@gmail.com\

    Please let me know if you have any questions.
    Thanks.

    Riz

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    2013 / 2016
    Posts
    5,833

    Re: Outlook VB Code to export attachment

    This utility might do the trick for you: https://www.excelforum.com/tips-and-...subfolder.html
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    3,804

    Re: Outlook VB Code to export attachment

    Hello dflak:

    Please refer to attached pic.
    These are pic from Outlook as i have 3 email accounts.

    Below is the code i use and it works with Outlook\Inbox\@1DQGuntPolling

    Need to change below code so that it works for GMail\Inbox\@1DQGuntPolling.
    I believe its the 1st line i need help with.

    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Thanks.
    Attached Images Attached Images
    Last edited by rizmomin; 07-17-2018 at 04:25 PM.

  4. #4
    Registered User
    Join Date
    10-29-2017
    Location
    Delhi
    MS-Off Ver
    10
    Posts
    18

    Re: Outlook VB Code to export attachment

    Ok, Got It, I also want to know about it.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    2013 / 2016
    Posts
    5,833

    Re: Outlook VB Code to export attachment

    I'll have to look into my code, but I think if you specify GMAIL as the mailbox and @1DQGuntPolling as the folder it will work. My code assumes INBOX is between Mailbox and Folder.

+ 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