Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Sending a workbook with a message

Hello, I hope someone can help me out on this please.
I am using VBA in Excel XP with Windows 2000.

I need to send a workbook via e-mail as an ATTACHMENT. The
user would run the code from Excel. Can this be done using
the built-in dialog 'xlDialogSendMail'? It works great as
far as adding the workbook as an attachment, adding the
address line and the subject line. My example code follows:

Set oMessage = Application.Dialogs(xlDialogSendMail)
oMessage.Show ", "subject line"

The only problem is, I want to add a message along with
the attachment and I need it to actually SEND the email. I
can't seem to get it to do this. If this is not THEE way
then what is the most efficient way?

Your sample code would be most appreciated...
Thanks in advance...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Sending a workbook with a message

see www.rondebruin.nl

keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"MacroMan" wrote:

Hello, I hope someone can help me out on this please.
I am using VBA in Excel XP with Windows 2000.


Your sample code would be most appreciated...
Thanks in advance...


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sending a woorkheet in an email message picky New Users to Excel 1 April 14th 09 05:41 PM
Sending a single worksheet from a workbook Lisa Excel Discussion (Misc queries) 3 January 25th 09 05:30 PM
Mocro code for sending a worksheet in a mail message Lorenzo Excel Discussion (Misc queries) 1 August 31st 05 10:49 PM
Sending sheets in workbook billy2willy Excel Discussion (Misc queries) 4 July 28th 05 05:43 PM
Sending data to a different workbook Kevin Excel Programming 1 August 6th 03 04:46 PM


All times are GMT +1. The time now is 06:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"