|
-
Nov 17th, 2014, 06:56 AM
#1
[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
-
Nov 17th, 2014, 08:52 AM
#2
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
-
Mar 24th, 2015, 04:26 AM
#3
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
-
Mar 24th, 2015, 04:37 AM
#4
Re: [RESOLVED] how to insert table into CDO text body
About the plain text, maybe this can be of any help to you
-
Mar 24th, 2015, 05:17 AM
#5
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
-
Mar 24th, 2015, 06:06 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|