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
Access multile servers by RDP thru ISA 2006
How to show number of messages besides a folder
What is the best decompiler?
Outlook 2007 keeps asking for password
How do I change the collating sequence properties at both the database and sql engine level for both SQL 2000 and 2005?
Exchange Server Wont Start
Outlook 2007 Corrupt ost file
Microsoft® Hyper-V" Server 2008 R2 is out, and now ?
Can not find active desktop HTML file.
Lookup field value showing as row number instead of value