Insert a text box based on an if then else code

B

BLansinger

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
 
G

Greg Maxey

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"}
 
B

BLansinger

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
 
G

Graham Mayor

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.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top