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 / April 2005

Tip: Looking for answers? Try searching our database.

Insert a text box based on an if then else code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BLansinger - 20 Apr 2005 23:18 GMT
Can you insert a text box into a word mail merge document simply based on an
if the else statement? I want this text box to only show up for certain
individuals. The text box itself contains a daisy chain of if,then,else's. It
took me a while to create all the code inside the box & do not want to have
to re-do the entire process, if I can help it.

Thanks,
Brad Lansinger
Greg Maxey - 21 Apr 2005 01:31 GMT
Brad,

Try defining your textbox as an AutoText entry (lets call it Textbox) and
then use something like:

{ IF {Mergefield Name} = "Bill"{AutoText Textbox}"Something else"}

Signature

Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

> Can you insert a text box into a word mail merge document simply
> based on an if the else statement? I want this text box to only show
[quoted text clipped - 5 lines]
> Thanks,
> Brad Lansinger
BLansinger - 21 Apr 2005 15:17 GMT
Greg: How can I define the text box to include the if,then,else codes I have
already developed? I created a new entry on the autotext list that is called
textbox but it simply enters the wrod "textbox". It doesn't draw a text box
or (that I can see) allow me to define what I want to insert.

Thanks!
Brad

> Brad,
>
[quoted text clipped - 12 lines]
> > Thanks,
> > Brad Lansinger
Graham Mayor - 22 Apr 2005 12:37 GMT
You are putting the cart before the horse. You start by creating the text
box that you want to insert, then save that text box as an autocorrect
entry. You can then use the conditional field in the document (not in the
text box) to insert an autotext field to place the text box.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Greg: How can I define the text box to include the if,then,else codes
> I have already developed? I created a new entry on the autotext list
[quoted text clipped - 27 lines]
>>> Thanks,
>>> Brad Lansinger
 
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.