+ Reply to Thread
Results 1 to 3 of 3

Change Font Size/Color on one line of an email automatically generated by a code.

  1. #1
    Registered User
    Join Date
    05-11-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    20

    Change Font Size/Color on one line of an email automatically generated by a code.

    Hi,
    I have a code that automatically generates an email. I need the first line to stand out (be in Bold, Red font, font size 24) while the other lines remain normal (font size 11, not bold and in black). Does anyone have any idea how to make this happen? Below is a sample of my code. As it indicates, i want the first line changed and the rest to be left alone. Any ideas?

    Please Login or Register  to view this content.
    email. it should be in regular text, font size 11, color black"

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Change Font Size/Color on one line of an email automatically generated by a code.

    For that, instead of body, you might need to use .HTMLBODY Property.

    http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx

    http://www.w3schools.com/tags/att_font_size.asp

  3. #3
    Registered User
    Join Date
    05-11-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Change Font Size/Color on one line of an email automatically generated by a code.

    That did it! Thank you so much!
    Oh, and the links were very helpful!

+ 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