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 / Word / Mailmerge and Fax / March 2004

Tip: Looking for answers? Try searching our database.

Problem with Check Box Field...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt C - 26 Mar 2004 15:41 GMT
...please have patience with me, this is the first time I
need to use fields or macros in Word.

If you open MSWord2000 and create a new file, go to the
LETTERS AND FAXES tab, and choose CONTEMPORARY FAX. If you
click on the little boxes next to the text that says
Urgent, For Review, Please Comment, Please Reply, or
Please Recycle, you can check and uncheck the boxes. This
is the result of a field {Macrobutton}, calling a macro
called CheckIt and, once it's in that state, UncheckIt,
which are native to this template, but I think I figured
out that these macros can be moved to normal.dot (MS
Word's global template?).

Now that I've moved the macros to an accessible place, how
does one create a checkable box for my own form letters,
etc.?

Am I totally off? This is possible, right?
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 27 Mar 2004 00:29 GMT
Create the same { MACROBUTTON } fields in your own document/template

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

> ...please have patience with me, this is the first time I
> need to use fields or macros in Word.
[quoted text clipped - 15 lines]
>
> Am I totally off? This is possible, right?
Charles Kenyon - 27 Mar 2004 00:41 GMT
This works by a combination of the macros, AutoText in the template, and
macrobutton fields. You need all three in your template for it to work. The
macrobutton fields are in the AutoText. They trigger macros that replace the
current field with an alternate field that calls the other macro.
Signature


Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> ...please have patience with me, this is the first time I
> need to use fields or macros in Word.
[quoted text clipped - 15 lines]
>
> Am I totally off? This is possible, right?
- 29 Mar 2004 16:18 GMT
Let's pretend, for a moment, that that was WAY over my
head. Hahaha... Charles, Could I trouble you for a bit of
a walk-through?

I couldn't find macrobutton under autotext.

>-----Original Message-----
>....please have patience with me, this is the first time I
[quoted text clipped - 18 lines]
>
>.
Charles Kenyon - 30 Mar 2004 00:23 GMT
Hi,

Go to File => New

Click on the Letters & Faxes tab and find the Contemporary Fax template.

In the bottom right of the new file dialog is a radio button letting you
select a new template or a new document (default document). Change this to
new template. Click OK.

Save your template as deleteme.dot. This template contains the macrobuttons,
the AutoText entries, and the macros you need.

Close the new template.

Open your custom template. With that open, go to
Tools => Templates and Add-Ins... and click the Organizer button.

Click on the tab for AutoText and on the right-hand side it will show the
AutoText in normal.dot. Click on the button to close the normal.dot file in
this dialog. Then open deleteme.dot in the dialog.

Copy the Checked Box and Unchecked Box entries to your template.

Next click on the Macros tab and copy the macros to your template.

Close the Organizer dialog. You no longer need the deleteme.dot file. You
can delete it whenever you want.

Where you want a checkbox, type "Unchecked Box" and press the F3 key.

If you double-click on this box, it will become checked. Double-clicking
again will uncheck it.

You can add the following macros to your template if you want a single click
to activate the checkbox:

Sub AutoNew
   AutoOpen
End Sub

Sub AutoOpen
   Options.ButtonFieldClicks = 1
End Sub

(You could add that code to existing AutoNew or AutoOpen procedures as
well.)

As you've guessed, this solution, while elegant, is complex. Hope this
helps.
Signature


Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> Let's pretend, for a moment, that that was WAY over my
> head. Hahaha... Charles, Could I trouble you for a bit of
[quoted text clipped - 27 lines]
> >
> >.
 
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.