Email more than one objects to same person

M

Megan

Hi,

First off, I am working with an .adp file using a SQL
Server and I have 2 stored procedures I need to email in
an Excel format. I can get the SendObject macro to put
one of those in and email, then produce another email with
the second object.

Is there a way to have SendObject send more than one
attachment at a time?

Thanks in advance,
Megan
 
V

Van T. Dinh

Not with SendObject Macro. You need to write VBA code using Outlook
Automation or CDO or MAPI.
 
J

Jim/Chris

This may sound complicated but it works very well
Create a macro with two transfer spreadsheet commands in
it to the same workbook. In Excel create a macro that
emails this workbook. Add to the macro a "RunApp" command
that includes the name of the Excel macro. A little
hoakie but my users only want to push buttons.

I do this in code so I use the "sendobject" and hardcode
the excel file name and bypass the "RunApp" and Excel
macro.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top