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 / January 2004

Tip: Looking for answers? Try searching our database.

Check Boxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
- 13 Jan 2004 20:34 GMT
I want to use an "If" field in a document to control
whether or not certain text is displayed based on the
state of a checkbox in the same document.  The expression
{IF ActiveDocument.FormFields("Check1").CheckBove.Value =
True "truetext" "falsetext" \* MERGEFORMAT}doesn't work.  
Any thoughts . . .
Charles Kenyon - 13 Jan 2004 21:13 GMT
You are confusing (I think) formfields with vba. Formfields don't use the
construction "ActiveDocument..." Formfields are designated by bookmarks
which are set in the formfield's properties.

I use checkbox formfields in one of my forms to control the display of
certain text by using an on-exit macro. Send me an email and I'll send you a
copy that might help you with coding what you want. (It is my subpoena
form.)

Signature

Charles Kenyon

See also 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.

> I want to use an "If" field in a document to control
> whether or not certain text is displayed based on the
> state of a checkbox in the same document.  The expression
> {IF ActiveDocument.FormFields("Check1").CheckBove.Value =
> True "truetext" "falsetext" \* MERGEFORMAT}doesn't work.
> Any thoughts . . .
- 13 Jan 2004 21:41 GMT
Thanks very much for the reply.  I have considered using
an on exit macro, but I am so comfortable with the "if"
fields that I like to sprinkle them throughout the
document, creating multiple references or taking multiple
actions based on the contents of a bookmark.  I was
hoping that since formfields are bookmarked
automatically, there would be a way to reference them as
I do other bookmarked words and phrases.  I would be very
interested in seeing your forms.  <slworthington@msn.com.

>-----Original Message-----
>You are confusing (I think) formfields with vba. Formfields don't use the
[quoted text clipped - 14 lines]
>
>.
Cindy M  -WordMVP- - 14 Jan 2004 19:57 GMT
> I have considered using
> an on exit macro, but I am so comfortable with the "if"
[quoted text clipped - 4 lines]
> automatically, there would be a way to reference them as
> I do other bookmarked words and phrases.

Unfortunately, IF fields can't "see" form field checkboxes,
so I think you will need to use a macro in this case.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)
- 14 Jan 2004 20:42 GMT
Thanks for the reply.  This is the same conclusion I am
coming to after many frustrating hours.  It seems like a
design lapse for conditional fields not to be able to
react to the state of a form checkbox.  Oh well . . .
>-----Original Message-----
>> I have considered using
[quoted text clipped - 20 lines]
>
>.
Charles Kenyon - 15 Jan 2004 22:39 GMT
REF fields won't copy them, either. Its a pain.

Hope the template I sent you is useful. You may want to cancel your previous
message with your email address in it to cut down on spam receipt.
Signature


Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://addbalance.com/word/index.htm>

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://addbalance.com/usersguide/index.htm>

See also 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.

> Thanks for the reply.  This is the same conclusion I am
> coming to after many frustrating hours.  It seems like a
[quoted text clipped - 30 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.