LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Mail a row to each person in a range (HTML) Index?

Hi Donnie

Look at this example
http://www.rondebruin.nl/mail/folder3/message.htm

Read the info below the macro also

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


"Donnie Stone" wrote in message ...
Mail a row to each person in a range (HTML) Index
(with the Outlook object model)
Ron de Bruin ( Last update 24 July 2004 )

Is it possible to use:
.Body = Nsh 'with a specified range of "B2:P2"?
Instead of: .HTMLBody = RangetoHTML2

Looking for a way to send the message in text, versus html.

Thanks,
Donnie


Set OutMail = OutApp.CreateItem(olMailItem)
With OutMail
.To = cell.Value
.Subject = "Grades Aug"
.HTMLBody = RangetoHTML2
.Send 'Or use Display
End With
Set OutMail = Nothing
Nsh.Cells.Clear
End If
Next cell

cleanup:
Application.DisplayAlerts = False
Nsh.Delete
Application.DisplayAlerts = True
Set OutApp = Nothing
Application.ScreenUpdating = True
End Sub




 
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
insert html promotions into e-mail program brett100 Excel Discussion (Misc queries) 2 July 10th 07 12:35 AM
How do I e-mail one Excel sheet to arrive NOT in HTML southwest worker Excel Discussion (Misc queries) 1 June 30th 06 09:43 PM
Mail a different files to each person in a range [email protected] Excel Worksheet Functions 5 September 2nd 05 02:00 PM
Can't get the Person Name (Outlook e-mail recipients) smart tag wo ranwin Setting up and Configuration of Excel 0 January 11th 05 08:41 PM
Mail Worksheet as (html) message body Thomas Bartkus[_3_] Excel Programming 1 January 12th 04 03:12 AM


All times are GMT +1. The time now is 12:30 AM.

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"