Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check box form field option

Status
Not open for further replies.

LilleTrille

Programmer
Mar 10, 2009
4
NO
Hi,

I've a document with a lot of check boxes. To change state(set enable) I need to 3 klick every time. And when it is over 100 check boxes, it take time. Do any body know how I can fix this, in word or macro?

I hope someone can help me!!

Thanks,

regards

Elin
 
Fix it in what way? Are you asking for some way to uncheck them all? Check them all?

I do not understand what you are actually asking for.

What kind of checkboxes? Formfield checkboxes (from Forms toolbar), or ActiveX checkboxes (from Controls toolbar).

Gerry
 
Well, we want to be enable one checkbox at the time, and it take some time when you need 3 click on each checkbox.

The checkbox is from Form toolbar.
 
I do not understand what you mean by "enable". There is no enabling of a formfield checkbox. Once you protect the document for forms, it is a single click to toggle it checked, or unchecked.

If it is unchecked, a single click checks it.
If it is checked, a single click unchecks it.

Now, are you asking about enabling through:

1. a right click
2. Properties
3. uncheck (or check) "Check box enabled"

Is this the three clicks you mention? If so, please say so. Also...why are you doing this? Especially as " we want to be enable one checkbox at the time".

WHY? If you really do want to do it one at a time, then...that is what you have to do. One at a time. Plus, the document has to be unprotected for forms in order to do this.

Could you please clarify the "we"? The user?

Have you tried recording a macro? You could have a wee macro that uses a shortcut key to fire.
Code:
Sub DisableCheckbox()
' shortcut key = Alt-e
   Selection.FormFields(1).Enabled = False
End Sub
This would make the current selected formfield disabled. However, it also retains the current state. If it IS checked, it would remain checked, but disabled. If it was unchecked, it would remain unchecked, but disabled.

It may help if you state what it is you are trying to do.

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top