Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Auto setting importance level on custom form (http://www.outlookbanter.com/outlook-using-forms/27149-auto-setting-importance-level-custom.html)

ALF September 15th 06 09:39 PM

Auto setting importance level on custom form
 
I have successfully created vbscript which auto sets the importance
level on an Outlook custom form message when a particular item is
selected in a custom combo box.

However, our network security has been upgraded and VB script in
outlook forms is being blocked, so my code will not run.

Has anyone run into this problem?

Can I work around this through a validation formula(ie
IIF(cmbo1="Action",importance = 2, importance=1)


Sue Mosher [MVP-Outlook] September 15th 06 10:05 PM

Auto setting importance level on custom form
 
A validation formula must return True if the data is "good" and False if not. No other type of formula is allowed.

What you need is a value formula on the Value tab, not a validation formula. Use the Edit button and select the field in the editor and you'll see that the name of the field needs to be in square brackets.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"ALF" wrote in message oups.com...
I have successfully created vbscript which auto sets the importance
level on an Outlook custom form message when a particular item is
selected in a custom combo box.

However, our network security has been upgraded and VB script in
outlook forms is being blocked, so my code will not run.

Has anyone run into this problem?

Can I work around this through a validation formula(ie
IIF(cmbo1="Action",importance = 2, importance=1)



All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com