A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Problem sending mail via excel



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 23rd 06, 11:56 AM posted to microsoft.public.outlook.program_vba
Jas
external usenet poster
 
Posts: 3
Default Problem sending mail via excel

Hi, I have the following code:

With Application.Dialogs(xlDialogSendMail)
.Show
.To = "
.Subject = "New Set-Up required"
.Body = "Please attach additional documents if appropriate and send the
email as normal."
.Attachments.Add ActiveWorkbook.FullName
End With

But the To, Subject and Body fields do not populate with the fields that I
have specified. I am very new to this so any suggestions would help hugely!!

Many thanks
Jas
Ads
  #2  
Old April 6th 06, 08:22 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Problem sending mail via excel

You might want to post in an Excel group, since they'll be more familiar with coding the dialogs you're referring to.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Jas" wrote in message ...
Hi, I have the following code:

With Application.Dialogs(xlDialogSendMail)
.Show
.To = "
.Subject = "New Set-Up required"
.Body = "Please attach additional documents if appropriate and send the
email as normal."
.Attachments.Add ActiveWorkbook.FullName
End With

But the To, Subject and Body fields do not populate with the fields that I
have specified. I am very new to this so any suggestions would help hugely!!

Many thanks
Jas

  #3  
Old April 8th 06, 08:44 PM posted to microsoft.public.outlook.program_vba
jbw92
external usenet poster
 
Posts: 1
Default Problem sending mail via excel

Have a look at Ron's website, he has created an addin for sending mail
from Excel

http://www.rondebruin.nl/mail/add-in.htm

Joop

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with sending mail sal Outlook - General Queries 1 March 23rd 06 09:22 AM
OE Sending mail PROBLEM Geoff Outlook Express 11 February 27th 06 03:30 AM
Outlook Express Sending Mail PROBLEM Moir Outlook Express 4 February 26th 06 12:51 AM
problem sending e-mail Girdwood Outlook Express 12 February 24th 06 08:45 PM
Outlook Express Sending mail PROBLEM Moir Outlook Express 9 February 24th 06 11:33 AM


All times are GMT +1. The time now is 12:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.