
Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
Thanks Russ for your prompt response. Can you direct me to the correct user
group? I was not aware that a userform is not a form utilizing form fields
or control toolbox. I also understand your response below on hiding text
(and am aware of how to do that) however, I am not the one that will be
choosing which options to print and which ones not to print. I'm a legal
assistant and I am trying to create a legal addendum to a contract for use
in the field. In as simple terms as I can, I'll give the example below of a
form I'm trying to create.
________________________________________________________________________________
ADDENDUM
Preamble Text - This addendum is between Us and Customer and modifies the
contract as follows:
[checkbox1] Section Xx is hereby modified to blah blah
[checkbox2] Section N is hereby modified to blah blah
[checkbox3] Section Y is hereby modified to blah blah
Closing terms of agreement and signatures.
__________________________________________________________________________________
Now if the user selects the first option and the third option, is there a
way to have the second option not print? Or if they only choose one of the
amended options, is there a way to not have the other options print? They
should have the ability to choose any (or all) the options that apply to
their specific customer. I also tried a listbox which I could almost get to
work however, several of the options are 300 characters in length and don't
fit in a listbox.
Thanks again!
-CJ
> CJ,
> I think you are talking about formfields in a document and not userform
[quoted text clipped - 29 lines]
>> 2003 SP2)
>> -CJ
Doug Robbins - Word MVP - 12 Jul 2007 03:53 GMT
Insert a bookmark around section of the text that you might want deleted and
have a macro that contains the following code run on exit from the
associated checkbox
With ActiveDocument
.Unprotect
If .FormFields("Check1").CheckBox.Value = False Then
.Bookmarks ("CheckBox1Text").Range.Font.Hidden=True
Else
.Bookmarks("CheckBox1Text").Range.Font.Hidden=False
End If
.Protect wdAllowOnlyFormFields, NoReset
End With
Under Tools>Options>View, you will want to have the display of Hidden Text
enabled so that the user can go back and change their selection and under
Tools>Options>Print, make sure that the box for Hidden Text is unchecked so
that text that is so formatted does not print.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Thanks Russ for your prompt response. Can you direct me to the correct
> user group? I was not aware that a userform is not a form utilizing form
[quoted text clipped - 65 lines]
>>> 2003 SP2)
>>> -CJ
CJ - 12 Jul 2007 13:50 GMT
I'll give it a shot or at least my best attempt :-) THANKS for your
response and for applying pieces of your time to these forums helping
everyone!
-CJ
> Insert a bookmark around section of the text that you might want deleted
> and have a macro that contains the following code run on exit from the
[quoted text clipped - 87 lines]
>>>> 2003 SP2)
>>>> -CJ
Russ - 12 Jul 2007 04:06 GMT
CJ,
These are the Microsoft word forums:
microsoft.public.word.application.errors
microsoft.public.word.conversions
microsoft.public.word.customization.menustoolbars
microsoft.public.word.docmanagement
microsoft.public.word.drawing.graphics
microsoft.public.word.formatting.longdocs
microsoft.public.word.international.features
microsoft.public.word.internet.assistant
microsoft.public.word.macword2001
microsoft.public.word.macword5-6
microsoft.public.word.macword98
microsoft.public.word.mail
microsoft.public.word.mailmerge.fields
microsoft.public.word.newusers
microsoft.public.word.numbering
microsoft.public.word.oleinterop
microsoft.public.word.pagelayout
microsoft.public.word.printingfonts
microsoft.public.word.programming
microsoft.public.word.setup.networking
microsoft.public.word.spelling.grammar
microsoft.public.word.tables
microsoft.public.word.vba.addins
microsoft.public.word.vba.beginners
microsoft.public.word.vba.customization
microsoft.public.word.vba.general
microsoft.public.word.vba.userforms
microsoft.public.word.web.authoring
microsoft.public.word.word6-7macros
microsoft.public.word.word97vba
If you don't want to use vba, I'd suggest posing 'your not print' question
to mailmerge.fields, pagelayout, docmanagement.
To pose the same question to more than one group, use a comma between each
group name in the 'To:' field:
microsoft.public.word.docmanagement,microsoft.public.word.mailmerge.fields,
microsoft.public.word.pagelayout
Otherwise, I think for those documents you'd have to use vba code to
intercept the print command to hide parts of the text before printing.
I don't know a lot about mail-merge, but I think it could be set up to not
print empty fields.
> Thanks Russ for your prompt response. Can you direct me to the correct user
> group? I was not aware that a userform is not a form utilizing form fields
[quoted text clipped - 62 lines]
>>> 2003 SP2)
>>> -CJ

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID