Adding a checkbox

S

Steve

I want to put a checkbox in a word document but I'd like
to be able to click on the checkbox and have it marked
with a X. I'd like to just click it once and not have to
open the Check Box Form Field Options window and
selct "checked". Is this possible?
 
S

Suzanne S. Barnhill

The form field will work as you wish if you protect the document for forms.
But if the check box is the only form field in the document, you are not
going to want to protect it. In that case, you will need a different
solution. If you're willing to settle for a check box that must be
double-clicked to check or uncheck it, you may want to
use the kind of check boxes used in the fax cover sheet templates that ship
with Word. These consist of three components:

1. A MacroButton field that runs one of two macros depending on state.

2. A CheckIt macro and an UncheckIt macro.

3. Checked Box and Unchecked Box AutoText entries (these are just Wingdings
characters that have been saved as AutoText).

When the check box is empty (Unchecked Box is displayed), double-clicking on
the MacroButton runs the CheckIt macro, which substitutes the Checked Box,
and vice versa.

In order to use this type of box in your document, you need to Copy/Paste
the MacroButton field into your document/template, then use Organizer to
copy the macros and AutoText entries to your template (it has to be a
template because documents can't store AutoText entries, but you could copy
them to Normal.dot if you're just creating a document rather than a
template).

To emphasize: The proper functioning of the check boxes requires the
presence of the MacroButton field in the document/template and the macros
and AutoText entries in the document template (or a global template).
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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