Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Kimberly Kimberly is offline
external usenet poster
 
Posts: 28
Default Check box will insert text

Is there a way that when a box is checked in a Word Doc that a paragraph can
automatically be inserted. I am creating a template letter and if my
associates selects a certain option I need it to insert and print a
disclosure statement. Thank you
  #2   Report Post  
Posted to microsoft.public.word.newusers
Doug Robbins - Word MVP on news.microsoft.com Doug Robbins - Word MVP on news.microsoft.com is offline
external usenet poster
 
Posts: 407
Default Check box will insert text

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

and the following pages of fellow MVP Greg Maxey's website :

http://gregmaxey.mvps.org/Create_and...a_UserForm.htm

http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm

Say you had a checkbox with the name chkDisclosure on such a form, and in
the document, you had a { DOCVARIABLE varDisclosure } field, in the command
button click event. you would use something like

If chkDisclosure.Value = True then
ActiveDocument.Variables("varDisclosure").Value = "This is the
disclosure statement."
Else
ActiveDocument.Variables("varDisclosure").Value = " "
End If


--
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, originally posted via msnews.microsoft.com

"Kimberly" wrote in message
...
Is there a way that when a box is checked in a Word Doc that a paragraph
can
automatically be inserted. I am creating a template letter and if my
associates selects a certain option I need it to insert and print a
disclosure statement. Thank you



  #3   Report Post  
Posted to microsoft.public.word.newusers
Kimberly Kimberly is offline
external usenet poster
 
Posts: 28
Default Check box will insert text

Yes it was. Thank you. I am just hoping I can do it, ha.
--
kmill74


"Doug Robbins - Word MVP on news.microsof" wrote:

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

and the following pages of fellow MVP Greg Maxey's website :

http://gregmaxey.mvps.org/Create_and...a_UserForm.htm

http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm

Say you had a checkbox with the name chkDisclosure on such a form, and in
the document, you had a { DOCVARIABLE varDisclosure } field, in the command
button click event. you would use something like

If chkDisclosure.Value = True then
ActiveDocument.Variables("varDisclosure").Value = "This is the
disclosure statement."
Else
ActiveDocument.Variables("varDisclosure").Value = " "
End If


--
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, originally posted via msnews.microsoft.com

"Kimberly" wrote in message
...
Is there a way that when a box is checked in a Word Doc that a paragraph
can
automatically be inserted. I am creating a template letter and if my
associates selects a certain option I need it to insert and print a
disclosure statement. Thank you




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell check -- text marked skip spelling and grammar check David A. Microsoft Word Help 8 August 9th 08 11:47 PM
Spell check not resetting to check all text in outgoing email mess Dana Microsoft Word Help 5 May 14th 08 02:04 PM
How do I turn ON spell check for text marked with "do not check... davidcyr2000 Microsoft Word Help 1 September 5th 07 03:53 AM
How to insert a check box and be able to check and uncheck Melissa Microsoft Word Help 1 November 21st 06 10:50 PM
how do i insert boxes in text (to check off later when printed)? creating check boxes Microsoft Word Help 1 December 19th 04 12:46 PM


All times are GMT +1. The time now is 01:53 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"