Microsoft
Software
Hardware
Network
Question : copy query results into email body using vb and format like cut and paste
If I run an access query and just copy/paste the results into the body of an outlook email message, I get, what looks like, a table with a header of the query name and column headings. Any thoughts on doing that in VB? (I already have all the vb code to create emails and put stuff in the body (at least I can put text or html code there).
thanks
alan
Answer : copy query results into email body using vb and format like cut and paste
yes, you can use the html template idea.
have you tried this
docmd.SendObject acSendQuery,"QueryName",ac
formathtml
,"to email",,,"Subject","msgtex
t"
Random Solutions
Printer Server Shares
HELP! Windows Server 2003 stuck in install loop!
"The Active Directory Services Installaion Wizard is not supported on this SKU"
Access 2007 - Field List & Property Sheet Display
The command or action 'OutputTo' isn't available now
C# -- About Box -- display "Publish Version"
register exe as a com server
using variables
Use DOS Batch File to Expand Wildcard into Filenames
How do you move controls in a Word 2007 template?