+ Reply to Thread
Results 1 to 2 of 2

Add line breaks and signature to Outlook email

  1. #1
    Registered User
    Join Date
    08-31-2011
    Location
    ATL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Add line breaks and signature to Outlook email

    Quote Originally Posted by Leith Ross View Post
    Hello Will,

    The property is set in the mail item, your object variable OutMail. Copy and paste this into your macro to replace the old code section for OutMail.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    I'm doing something similar to this post but I can't get the email body to format with line breaks and I'd also like to add a signature (stored in outlook). Any help?
    Thanks
    Last edited by Leith Ross; 08-31-2011 at 12:50 PM. Reason: added to question

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Add line breaks and signature to Outlook email

    Hello kirtchristensen,

    Welcome to the Forum!

    I am not sure this extactly what you need but I can easily change it if needed. I had to develop a new macro for what you want to do. This macro will convert the plain text into HTML code and then add on the HTML signature to the email body. Copy and paste this code into a new VBA module in your workbook. You will need to change the body text and the name of the signature file to what you are using . They are marked in bold text.
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 08-31-2011 at 10:09 PM. Reason: Changed Email portion to incude OP's settings
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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