+ Reply to Thread
Results 1 to 5 of 5

Help with in-EMAIL TXT formatting

  1. #1
    Registered User
    Join Date
    04-27-2015
    Location
    Houston, Texas
    MS-Off Ver
    2013
    Posts
    49

    Help with in-EMAIL TXT formatting

    Hello Excel experts. Am needing assistance with a quick modification of an EMAIL code I got from this forum that i modified to allow for IN-BODY text within the email itself (plus the original attachment in original code)

    Here is the code below
    Please Login or Register  to view this content.
    The Code Works fine but below image shoes the result:

    FMSEmailImagev1.jpg

    My dilema is that on the 4th line "Time of Incident ; 0.521527777777778" I want it to read "Time of Incident ; 12.31" instead.

    I tried the below code modification but kept getting "FALSE" as only in-body text in email...please help!
    Please Login or Register  to view this content.
    Thanks

  2. #2
    Registered User
    Join Date
    04-27-2015
    Location
    Houston, Texas
    MS-Off Ver
    2013
    Posts
    49

    Re: Help with in-EMAIL TXT formatting

    Or perhaps the solution could be modifying the code to have it in an HTML format? (just based on what I am reading online about in-body email txt??)

  3. #3
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Help with in-EMAIL TXT formatting

    Hi Harry,

    Easiest question first. For date and time formatting see the bottom of the following link:
    http://www.globaliconnect.com/excel/...=79&Itemid=475

    The following is an excerpt of your code that contains date and time formatting:
    Please Login or Register  to view this content.
    Lewis

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Help with in-EMAIL TXT formatting

    Since I don't use Outlook, the answer to your more difficult question could be problematic.

    See post #3 and the files associated with that post in the following link: http://www.excelforum.com/excel-prog...cel-range.html

    The sample file attempts to create User choice of either text or HTML as the body of an Outlook e-mail. I hope this helps.

    Lewis

  5. #5
    Registered User
    Join Date
    04-27-2015
    Location
    Houston, Texas
    MS-Off Ver
    2013
    Posts
    49

    Re: Help with in-EMAIL TXT formatting

    thanks LJMetzger. It worked beautifully.
    Also thanks for the links. Learned a lot!

+ 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. Email Body Formatting
    By cooperschilling in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2015, 02:26 PM
  2. [SOLVED] Email VBA Not formatting Correctly in sent email
    By gillyr7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2013, 02:16 PM
  3. Formatting Email Text
    By BennyAndTheInkJets in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2012, 10:45 AM
  4. Re-formatting Email Addresses
    By jluyt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-12-2012, 04:33 PM
  5. Re-formatting Email Addresses
    By jluyt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2012, 03:36 PM
  6. email formatting in vba
    By LilyMarie in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 05-29-2009, 05:44 PM
  7. How do I disable email formatting.
    By dwilliams in forum Excel General
    Replies: 6
    Last Post: 02-08-2006, 02:50 PM

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