![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Excuse me for my ignorance, however I am no programmer. Someone contacted me
becuase we have a custom form created, and when they click a link on that form, it generates an email to one of our users. They would like to include additional addresses in teh CC field. I viewed the code behind the form and this is what I found Sub CommandButton1_Click set MyItem = Application.CreateItem(0) myitem.to = " Joe Schmoe" myitem.subject = "Bulletin Board Meeting Notice" myitem.Body = "This is a request for the following meeting to be displayed on the electronic bulletin board: " & chr(10) & chr(10) & " " & userproperties.find("MeetingTitle").value & chr(10)& chr(10)& "The meeting will be held on: " & userproperties.find("calcdate").value & " from " & userproperties.find("calcstarttime").value & " to " & userproperties.find("calcendtime").value & chr(10) & Chr(10) & "The meeting location is: Conference Room " & userproperties.find("ConfRoom").value & "." & chr(10) & chr(10) & "Please contact " & userproperties.find("ContactPerson").value & ", " & userproperties.find("Division").value & ", at " & userproperties.find("ContactPhone").value & " for more information." Myitem.display item.userproperties("BulletinMessageSent").value = "True" item.save End Sub My guess is that the myitem.to="Joe Schmoe" is where I want to start, however I am not positive how to add another user but as a CC, or if I just have to add addl users on the same line. Any help would be greatly appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding new email to address book | John[_17_] | Outlook - General Queries | 2 | June 22nd 08 07:47 AM |
Address lookup doesn't work when adding to outlook address book | Grd | Outlook and VBA | 2 | May 19th 08 07:53 PM |
Adding address books for e-mail | jpowell | Outlook - Installation | 6 | November 26th 07 02:55 AM |
Address -- adding it automatically | [email protected] | Outlook - Using Contacts | 3 | August 17th 07 09:12 AM |
Adding to Address Group | donna | Outlook Express | 3 | March 24th 06 01:10 AM |