+ Reply to Thread
Results 1 to 4 of 4

RE: Extract body from email

  1. #1
    Registered User
    Join Date
    12-10-2015
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    2

    RE: Extract body from email

    Hi

    I have created a code (borrowing from various sources) in VB to extract certain information from an email and write it to excel. The information is in the format below but there is a table with the information on the right. It works when the table is stripped but won't work when the table is in the email (and that's how the email comes). If anyone could help that would be great.

    Contact Information
    Prefix:
    First Name:
    Last Name:
    Designation:
    Email Address:
    CC Email Address:
    Company:
    Title:
    Work Address:
    Work Phone:
    Work Fax:
    Mobile Phone:
    Industry:
    Department:

    This is the code I am using
    Please Login or Register  to view this content.

    Thank you for your help
    Last edited by alansidman; 12-11-2015 at 08:35 AM. Reason: code tags added

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Extract body from email

    Can you add code tags when posting code?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    12-10-2015
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    2

    Re: Extract body from email

    Hi Sorry, new to this forum - should have read posting rules....

    Thanks for letting me know should i repost?

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: Extract body from email

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. How to send email from excel using VBA with Cell Range (Including Images) as Email Body
    By Novice_To_Excel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2014, 05:06 AM
  2. vba pull data from outlook body of email through email or subject of mail into excel
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2014, 04:37 AM
  3. Replies: 1
    Last Post: 01-20-2014, 09:31 AM
  4. Send New Email W/ Body of Received Email, Then Delete Sent Email
    By edneal2 in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 07-01-2013, 12:45 AM
  5. export outlook 2007 email into excel with subject and body of email
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 02:37 PM
  6. Replies: 0
    Last Post: 02-21-2013, 04:46 AM
  7. Replies: 2
    Last Post: 08-01-2012, 02:47 PM
  8. Replies: 6
    Last Post: 12-02-2011, 02:14 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