check box user property

  • Thread starter Thread starter Dale
  • Start date Start date
D

Dale

I am trying to change the property of a check box and not
getting the results I need.

here is the code:

Item.UserProperties("lcb01").enabled = False

I am trying to change the checkbox to not allow entry
based on a condition. Any suggestions?

Thanks.
 
When in doubt, check the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. If you do, you'll find that the
UserProperty object has no Enabled property.

You're trying to change the value of a property of a *control* not an
Outlook property. See http://www.outlookcode.com/d/propsyntax.htm#unbound
for the correct syntax for referring to a control on an Outlook form.
 
Back
Top