+ Reply to Thread
Results 1 to 5 of 5

Copy all emails in outlook folder and paste them in similar system folder and ms access

  1. #1
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Copy all emails in outlook folder and paste them in similar system folder and ms access

    Hi all,

    I need on daily basis to move all emails into a folder in the hard drive. the folder has the same setup as the one in outlook. After that, I need to
    After searching the web, I found two macros that only do part of it.
    It would be great if the code could be combined or fired one after the other one to save all the emails from the folder (could be any one selected) to the hard drive and adding a link to access database so I can easily open the emails from the folder.
    The fact that I need this is because we have a huge amount of emails and there are 10 of us to access them. a .pst file is no solution at all as one at a time can read the emails.

    I don't ask that the code is written form me, just if you are able to help me step by step to learn as well.

    The code I have so far:
    Please Login or Register  to view this content.
    The above code only takes the ones selected, but it needs to be changed that it will be a selected folder.


    Please Login or Register  to view this content.
    The above code only takes the personal inbox, it needs to be set so the selected folder is the one he will get the emails from.

    Greetings.

  2. #2
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Copy all emails in outlook folder and paste them in similar system folder and ms acces

    Hi all,

    I found a possible solution, but I have error on the part:
    Please Login or Register  to view this content.
    Can any one point me where it goes wrong?



    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Copy all emails in outlook folder and paste them in similar system folder and ms acces

    Hi all,

    Please Login or Register  to view this content.
    compile error:
    User-defined type not defined

    Forgot to mention the above error :-)

  4. #4
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Copy all emails in outlook folder and paste them in similar system folder and ms acces

    Found that one too,
    Just forgot to add the ADO reference in tools :-)

    The next error I get is:
    Please Login or Register  to view this content.
    It is not in the collection, so no clue what that means.

  5. #5
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Copy all emails in outlook folder and paste them in similar system folder and ms acces

    Hi all,

    I got it working, but have problems with the selection of the folder.
    For now I can only use an imbox from outlook and it will copy all the subfolders and emails, but I only need to select a subfolder with subfolders in it where the emails are that I need to backup.
    Is it possible to force that?

    Greetings.

+ 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. [SOLVED] copy emails from outlook into a folder
    By plans in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2014, 02:26 PM
  2. [SOLVED] Select folder and date range to get emails from Outlook
    By 2sqrd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2013, 09:51 AM
  3. search for a file in a folder based on data, copy and paste it in another folder
    By kboy1289 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2013, 11:47 AM
  4. Copy & Paste image from a folder to an outlook mail
    By blue J in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2012, 07:15 AM
  5. Import emails from outlook folder as TXT
    By Mslady in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2005, 08:07 PM

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