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
'Day' is a type and cannot be used as an expression
How to tel an MFC app the location of an external DLL?
How do I configure my DHCP server correctly in this network?
How to resolve Blue Screen with errorcode 0x80899707 on SBS 2003?
Corrupt Administrator Profile on W2003 server running exchange, w/exchange db running on SAN attached as X:
HtmlTextWriter
windows 2000 server - credentials confllct
Excel 32 bit on XP Pro 64 bit ODBC connection...
Moving Registry Entries Out of "VB and VBA Program Settings"
Error message: Entering break mode failed, Source file does not belong to the project being debuugged.