On Wed, 10 Dec 2008 18:53:00 -0800, thefonz37 wrote:
> Ok, tell me more using language like I've never heard of what you mean
> before (because I haven't
If you read these groups much you will see people talking about using
code to manipulate Word, Excel, Outlook, etc.. VBA can use COM to
utilize code that is actually contained in external libraries that have
nothing to do with Access or even Office.
One thing that can be done with this is to utilize the CDOSys.DLL that is
on Windows machines. This is a messaging library that can (among other
things) send Email messages.
I can't provide a code example at the moment, but if you search the web
for "CDOSys VBA code examples" you should be able to find examples that
with just a little tweaking can be dropped right into your project.
As with most such things, the code might look a little intimidating if
you are not too experienced, but making the code function in your app
doesn't require that you understand all of it. You normally end up with a
fairly straight-forward function or class that is pretty simple to send
messages with. You can even include attachments (as many as you like)
and create formatted HTML messages if desired. I haven't used SendObject
in years.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com