check box user property

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.
 
S

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top