Excel Statment of Account

josros60

Registered User.
Local time
Yesterday, 16:25
Joined
Mar 10, 2011
Messages
73
Hi,

I have A/R access database and in Excel i have Statement of Account Spread sheet, from Access i would to attach not the whole spread sheet but just the statement as body message of the email.

any suggestion example of vba code to do so.

thanks.
 
you're taking a simple 1 line solution ( docmd.sendto)
and making it a complicated programing venture.
 
another approach (psudocode) would be:

using vba copy the sheet (statement of account) into new workbook.
attach the new workbook to your email.

or

using vba again copy and save your statement of account sheet as picture.
attach this picture to your email.
 

Users who are viewing this thread

Back
Top Bottom