Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 107,163 VB Programmers for FREE! Ask your question and get quick answers from experts. There are 1,354 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



How can I send an email to a GROUP in my contact list

 
Reply to this topicStart new topic

How can I send an email to a GROUP in my contact list

excel2006
post 8 Aug, 2008 - 09:52 AM
Post #1


New D.I.C Head

*
Joined: 8 Aug, 2008
Posts: 1

Hi

Have the code below which is mainly working but, how do you send the e-mail to a "group" in my contact list?

e..g if the Group is called Work 1

Set oApp = CreateObject("Outlook.Application")
Set oMail = oApp.CreateItem(0)
With oMail
.To = "Work 1" **
.Subject = "File"
.Body = "Here is the file you asked for"
.Attachments.Add WB.FullName
.Display

End With
User is offlineProfile CardPM

Go to the top of the page


jjsaw5
post 8 Aug, 2008 - 10:50 AM
Post #2


D.I.C. Face

Group Icon
Joined: 4 Jan, 2008
Posts: 931



Thanked 5 times

Dream Kudos: 125
My Contributions


Do you have this group1 established somewhere else?


If not you are going to have to create this group and its memebers.
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/27/08 09:34PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month