+ Reply to Thread
Results 1 to 4 of 4

Not sure how to split Outlook Body Text to Single Cells

  1. #1
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    287

    Not sure how to split Outlook Body Text to Single Cells

    Hi, thanks to google I have managed to find some code to enable me to extract emails to transfer the data onto an excel spreadsheet. I would like to take this further by splitting the Outlook Body Text into individual cells but not sure how. The following is my current code:

    Please Login or Register  to view this content.
    Currently the outlookmessage.Body is pasted into 1 cell, but the following is an example of how the email body looks like:

    1) Please select type of change:

    Temporary

    2) Please complete:

    Name:
    Humpty
    ID:
    12345678
    Reason for Change:
    Plan Leave
    Current shift:
    08:00 - 17:00
    Date of Change:
    16/10/12
    End date if applicable:
    16/10/12
    If somebody could please advise me or if there are any tutorials, as its all well, somebody writing this for me, but I want to make sure I learn at the same time as to how what the code all means.

    Thanks in advance.

  2. #2
    Forum Contributor
    Join Date
    09-29-2011
    Location
    Kolkata, India
    MS-Off Ver
    Excel 2003/2007
    Posts
    182

    Re: Not sure how to split Outlook Body Text to Single Cells

    Hi,

    Is the mail body always contains data like above? More clearly, do you always get Name:, ID:, Reason for Change: etc. etc. ?

    If yes then the same can be done in excel itself.

    Let us know so that we can help.

    Regards
    taps

  3. #3
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    287

    Re: Not sure how to split Outlook Body Text to Single Cells

    taps, thanks for your response. The mail body will always contain data in the same format, as its a form that is filled out and I am trying to extract the information to the separate fields.

  4. #4
    Forum Contributor
    Join Date
    06-16-2008
    Posts
    287

    Re: Not sure how to split Outlook Body Text to Single Cells

    Btw, ideally I am looking only to only pick up the answers, so not sure if the text from the body would need to be defined as keywords. i.e. Name, ID, etc..

    Thanks

+ 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