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
SSIS Script task Excel object reference release
Use the Tab-Key in an Edit Box.
transferring terminal services licenses to a new server
IIS7 and DNS on Server 2008
How do I disable script & execute permission in IIS7 for a specific site subdirectory?
How to change the language used for menus and dialog boxes
Can you configure integrated/ntlm authentication in the Remote Desktop Client?
Urgent System.UnauthorizedAccessE<wbr />xception
Pivot Multiple Column Entries to Rows?
Help in Defining query in Access