#1
|
|||
|
|||
Enable Text Field by Option Selection
Basically, I need to have a text field disabled until a specific option button is selected.
possible? |
#2
|
|||
|
|||
You are going to have to explain what you mean by "text field". By itself it does not mean anything.
|
#3
|
|||
|
|||
sorry,
I have an activex control text box. Next to it are three choices "1-port", "2-ports", "other". I would like to prevent this field from accepting text if the "other" choice is not selected. thanks for the reply |
#4
|
|||
|
|||
When posting please pause and think about what you writing, what the person reading it can "see". They see nothing, so you must be fully descriptive.
Three "choices". This just makes me ask...what do you mean by three choices? A dropdown with three possible selections? Three radio buttons? Three checkboxes? In any case, you are going to have to test against whatever it is you have. If OTHER = False (so it is NOT selected) Then disable the textbox. However, this is an after-the-fact situation. Depending on what the three choices are: Test their values, and explicitly make textbox1.enabled = False (if OTHER = false textbox1 is DISabled) textbox1.enabled = true (if OTHER = true textbox1 is enabled) |
#5
|
|||
|
|||
Radio buttons...sorry, it was a long day
I will try what you stated...thanks for the reply! |
Tags |
option button, text control box |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Selection of all Text for a specific page in word is spanning selection across pages | ramsgarla | Word VBA | 9 | 12-05-2012 03:23 AM |
Form field selection allows entry into form text box | David C | Word | 1 | 10-24-2012 04:53 AM |
Macro to populate a text form field based on dropdown selection | koloa | Word | 0 | 10-20-2011 11:52 AM |
Putting a bookmark on a REF field in the selection | b0x4it | Word VBA | 4 | 05-26-2011 01:14 AM |
Form Field - Drop down selection causing auto text | chesspupil | Word VBA | 7 | 05-09-2010 05:43 AM |