+ Reply to Thread
Results 1 to 3 of 3

How to gather data from Outlook Emails to put into Excel (using Excel VBA)

  1. #1
    Registered User
    Join Date
    10-02-2015
    Location
    Pennsylvania
    MS-Off Ver
    2007
    Posts
    33

    Question How to gather data from Outlook Emails to put into Excel (using Excel VBA)

    Hi all,

    I'm wondering if anyone ever tapped into Outlook via Excel VBA. if so may I ask how to:

    *For each email in any Outlook folder from the last 24 hours, which has the Subject of: "ID ### Status":
    (### will be a 3 or 4 digit ID-Number, occasionally starting with the letter v)

    1) In the email body get the text that follows:
    "Percentage Complete: " <--- e.g. the text might be "100%"

    2) Store that value in col "A", in the row where col B = the same ID number as in the email subject
    (If that ID number does not exist in column B, then just move to the next email)


    --- Hopefully this is easily doable. (btw: There will be less emails in 24h than Excel rows, so it might be faster to traverse emails first -- also I have to run it from VBA code in an Excel spreadsheet)

    Much thanks in advance for the help,
    -jmc

  2. #2
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: How to gather data from Outlook Emails to put into Excel (using Excel VBA)

    That's a big ask to code from scratch - have a look at something like this to get you stated

  3. #3
    Registered User
    Join Date
    10-02-2015
    Location
    Pennsylvania
    MS-Off Ver
    2007
    Posts
    33

    Re: How to gather data from Outlook Emails to put into Excel (using Excel VBA)

    Thanks S O,

    I was afraid it might be a bigger task than I thought. In the meantime, the link you gave is very helpful to start off. Thank you!

    I'm now playing with the code from that link to "try" to adapt it to do the above.

    In case anyone else can give give additional hints (or if they have enough time on their hands), I'll leave this thread unsolved for now.

    ....and if I can figure it out(?), (it might take a few days if so), I'll post what (I hope will work) below! Thx again for the help getting started!

    -jmc
    Last edited by jmccoughlin; 11-04-2015 at 09:28 PM.

+ 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. Automating transfer of Outlook emails data to Excel
    By yawwwn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2015, 02:01 AM
  2. Sending Outlook Emails from/using Excel VBA - Outlook and Excel
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-19-2013, 11:32 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. Macro to get the data exported to an excel from Outlook emails and or attachments?
    By lifeisaspreadsheet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2012, 04:31 PM
  5. [SOLVED] Search and Flag the Emails in Outlook based on the Data in Excel (Subject column)
    By anchuri_chaitanya in forum Outlook Programming / VBA / Macros
    Replies: 9
    Last Post: 03-17-2012, 12:35 AM
  6. Replies: 3
    Last Post: 05-13-2010, 09:53 AM
  7. Sending Outlook emails containing Excel data
    By Richard Buttrey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2009, 10:24 AM

Tags for this Thread

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