RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 374 | Replies: 0
Reply
Join Date: Jul 2007
Posts: 1
Reputation: StuartB is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
StuartB StuartB is offline Offline
Newbie Poster

checkboxes / enabling fields

  #1  
Jul 27th, 2007
I am trying to write some code in Word 2003 for a document / form that contains a check box and a text field. All I need is for the text field to be enabled once the checkbox has been checked. I cant seem to get this to work !
Any help would be appreciated

So far I have come up with the following but it doesnt work

If Selection.formfields("check1") = True Then
Selection.formfields("text1").Enabled = True
Else
Selection.formfields("text1").Enabled = False

End if

Thanks !
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:18 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC