Results 1 to 6 of 6

Thread: [RESOLVED] how to insert table into CDO text body

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Resolved [RESOLVED] how to insert table into CDO text body

    i wish to create a formatted email body, using CDO.message
    item, qnty, value

    i have no control over the receivers email client font, so can only get approximate results, using text alignment
    in a regular text format email (outlook express or outlook) i can paste a table from excel or word into the body
    can i do the same into a cdo.textbody?

    or what other alternatives could be available?

    tia for any suggestions
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: how to insert table into CDO text body

    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: how to insert table into CDO text body

    i ended up creating an html table, not sure how it displays it the recipient only has text emails, but it seemed to work fine for the target recipients

    not my first choice, but will mark as resolved
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,747

    Re: [RESOLVED] how to insert table into CDO text body

    About the plain text, maybe this can be of any help to you

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: [RESOLVED] how to insert table into CDO text body

    thanks for the response
    that appears to be a property from exchange server
    i am not sure if it can be implemented by the sender
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  6. #6
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,747

    Re: [RESOLVED] how to insert table into CDO text body

    It seems you are correct.
    Then you would need to build the normal .Text property yourself, otherwise the content may not be visible for some users.
    Unless you know your audience

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width