![]() |
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
|
|||
|
|||
![]()
I have created a custom form using the Post form. On the form, users will
select a recipient. I want that recipient to receive an email when the form is posted. I have the following code. How do I get it to email the selected recipient? I don't want to hard-code an email address in the code because the recipient will vary. Function Item_Write() Set newItem = Application.CreateItem(0) With newItem ..To = ??? ..Subject = "New On-Site Visit Report" ..Body = "There is a new On-Site Visit Report for you to view." ..Send End With End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Emailing a custom form | robert | Outlook - Using Forms | 1 | November 30th 06 05:26 PM |
Emailing a Post form | robert | Outlook and VBA | 4 | November 1st 06 08:33 PM |
Emailing Contacts made with custom form internally | rikper | Outlook - Using Contacts | 1 | August 11th 06 02:52 AM |
Emailing | Brianna Beverley | Outlook Express | 2 | May 23rd 06 03:34 PM |
Emailing a contact vCard with custom form loses all custom info | Kim | Outlook - Using Contacts | 7 | April 27th 06 01:21 AM |