Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / May 2004

Tip: Looking for answers? Try searching our database.

check box user property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dale - 12 May 2004 22:51 GMT
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.
Sue Mosher [MVP-Outlook] - 13 May 2004 01:27 GMT
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.

Signature

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

> I am trying to change the property of a check box and not
> getting the results I need.
[quoted text clipped - 7 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.