R
Rookie
Hi,
I have a custom Outlook 2003 form created with a drop down menu used to
categorize emails. How can I make choosing a selection from the drop down
menu mandatory? This will be useful to ensure all messages have a category
(ie Accounting, Legal, Medical, etc).
Here is the code I am using:
Function Item_Send()
Dim NewText, BodyText
NewText = ""
BodyText = Item.Body
MyStatement = Item.UserProperties("Statement")
Select Case MyStatement
Case "Accounting"
NewText = "*** Message Includes ACCOUNTING Information ***"
Case "Legal"
NewText = "*** Message Includes LEGAL Information ***"
Case "Medical"
NewText = "*** Message Includes MEDICAL Information ***"
End Select
Item.Body = NewText & chr(13) & BodyText & chr(13) & chr(13) & NewText
End Function
I have a custom Outlook 2003 form created with a drop down menu used to
categorize emails. How can I make choosing a selection from the drop down
menu mandatory? This will be useful to ensure all messages have a category
(ie Accounting, Legal, Medical, etc).
Here is the code I am using:
Function Item_Send()
Dim NewText, BodyText
NewText = ""
BodyText = Item.Body
MyStatement = Item.UserProperties("Statement")
Select Case MyStatement
Case "Accounting"
NewText = "*** Message Includes ACCOUNTING Information ***"
Case "Legal"
NewText = "*** Message Includes LEGAL Information ***"
Case "Medical"
NewText = "*** Message Includes MEDICAL Information ***"
End Select
Item.Body = NewText & chr(13) & BodyText & chr(13) & chr(13) & NewText
End Function