Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default write email subject

Hi,
How do i write a marco to populate the email subject with "Here it is"
if i am sending email from excel?
thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default write email subject

HI Lynn

This works for me

ActiveWorkbook.SendMail ,Subject:="This is
IT!"

Best N10

"Lynn" wrote in message
ups.com...
Hi,
How do i write a marco to populate the email subject with "Here it is"
if i am sending email from excel?
thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default write email subject

ActiveWorkbook.SendMail will send the worksheet straight away.
I only need to input "This is IT" into the subject field.
any idea?

  #4   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default write email subject

Whats you existing code like?

N10

"Lynn" wrote in message
oups.com...
ActiveWorkbook.SendMail will send the worksheet straight away.
I only need to input "This is IT" into the subject field.
any idea?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default write email subject

With SendMail the only way is not to fill in a e-mail address
.SendMail "", "This is the Subject line"

If you use the Outlook Object model you can use Display instead of Send
See the examples on my site
http://www.rondebruin.nl/sendmail.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"N10" wrote in message ...
Whats you existing code like?

N10

"Lynn" wrote in message oups.com...
ActiveWorkbook.SendMail will send the worksheet straight away.
I only need to input "This is IT" into the subject field.
any idea?





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
email hyperlink - cell value in subject line boustrophedon Excel Discussion (Misc queries) 19 April 21st 23 06:12 PM
Email subject Arun Excel Discussion (Misc queries) 0 December 27th 06 08:27 PM
Using VB, specific cell data into email subject andrew Excel Discussion (Misc queries) 1 January 26th 05 05:53 PM
Defining the subject of an Email by value in range RPIJG[_31_] Excel Programming 5 June 8th 04 09:00 PM
Code to Email with UNC in subject line Sandy[_3_] Excel Programming 1 July 14th 03 02:10 PM


All times are GMT +1. The time now is 08:36 AM.

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

About Us

"It's about Microsoft Excel"