![]() |
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
|
|||
|
|||
![]()
Hello
I have created an Outlook form which I want to be: 1. Completed by a user 2. Forwarded to an approver 3. Then Forwarded to an administrator 4. Then Forwarded to another person I seem to be hitting problems whenever I add a second send routine. Can anyone help? Here is the code: Option Explicit 'Forward to approver function Function Item_CustomAction(ByVal Action, ByVal NewItem) Select Case Action.Name Case "Route" Item_CustomAction = True NewItem.To = "Approver1" Case Else Item_CustomAction = True End Select End Function 'The first send action sub cmdsendPCa_Click() Item.Actions.item("Route").Execute Item.Close 1 end sub 'Forward to administrator function Function Item_CustomAction(ByVal Action, ByVal NewItem) Select Case Action.Name Case "Routeb" Item_CustomAction = True NewItem.To = "Adminstrator" Case Else Item_CustomAction = True End Select End Function 'The second send action sub cmdsendPCb_Click() Item.Actions.item("Routeb").Execute Item.Close 1 end sub Hope you can help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
forwarding vcard | lvinson | Outlook - Using Contacts | 1 | March 7th 06 09:59 AM |
OL2003 - can you auto-fill a singel new contact form with online form data | TimR | Outlook - Using Contacts | 1 | February 15th 06 01:43 PM |
Outlook opens Form as Email message, not Form | [email protected] | Outlook - General Queries | 2 | January 26th 06 09:54 PM |
I send an Outlook custom form, but a std. form displays? | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 07:41 PM |
how to display a form for the user to select a list of contacts from the addressbook | LeAnne | Outlook - General Queries | 0 | January 8th 06 12:55 PM |