+ Reply to Thread
Results 1 to 9 of 9

Importing Emails from Outlook

  1. #1
    Forum Contributor
    Join Date
    12-20-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007 & Excel 2010
    Posts
    115

    Importing Emails from Outlook

    Hello All,

    Can someone help me with below code:

    Instead of "BP_Emails" folder; i need to have a Inputbox which can select the folder from email.

    I could able to pull the email list but from the below folder.

    Please Login or Register  to view this content.

    Thanks in Advance

    Regards
    Vinay
    Last edited by arlu1201; 12-11-2013 at 02:27 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Importing Emails from Outlook

    Please note that you should use Code Tags around your code in order to comply with the forum rules.

    See the modified code below.


    Regards, TMS

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    12-20-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007 & Excel 2010
    Posts
    115

    Re: Importing Emails from Outlook

    Hello TMS,

    It is working....

    Thanks for your support....

    Regards
    Vinay

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Importing Emails from Outlook

    mvinay, Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. In order to put code tags, either type [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] at the end of it, OR you can highlight your code and click the # icon at the top of your post window.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Importing Emails from Outlook

    Also,

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.

  6. #6
    Forum Contributor
    Join Date
    12-20-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007 & Excel 2010
    Posts
    115

    Re: Importing Emails from Outlook

    Sure!!!

    Thank you for bringing these things to me..

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Importing Emails from Outlook

    You're welcome. Thanks for the rep.

  8. #8
    Forum Contributor
    Join Date
    12-20-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007 & Excel 2010
    Posts
    115

    Re: Importing Emails from Outlook

    Hello TMS,

    Your code really helped a lot.

    But code is unable to pull the information from the folders which has huge emails.
    Also earlier we have included only Name, Subject & Received Time; in addition to these i have added "Body" of email and i am unable to pull the details.

    I am hereby attaching the template.

    Kindly help me..

    Regards
    Vinay
    Attached Files Attached Files

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Importing Emails from Outlook

    I think you're going to have to limit how much of the body you see. This worked for 233 records with up to 8000 characters.

    You can experiment to see if you can get it higher than that.

    Please bear in mind that this is actually a different issue and is not, in fact, related to "I need to have a Inputbox which can select the folder from email."

    If this doesn't give you what you want, I suggest that you start a new thread and perhaps link back to this thread for background.

    Regards, TMS

    Oh, PS: please don't protect the project if you want us to be able to work on it. I needed to change the library reference to test the code.


    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. MS Outlook Emails from Excel using VBA
    By Dbomber in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-06-2013, 02:23 AM
  2. Automatic Emails using outlook
    By behnam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2013, 09:51 AM
  3. [SOLVED] Sending Outlook emails from Excel; Limits to three emails only?
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2013, 06:53 AM
  4. Send outlook emails with message in cells to individual emails associated with them
    By abinayan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2011, 06:11 AM
  5. Retrieving emails from outlook with vba
    By suckee86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2011, 12:26 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