A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Decisions If Text References



 
 
Thread Tools Display Modes
  #1  
Old March 11th, 2010, 10:19 AM posted to microsoft.public.word.mailmerge.fields
DMc2004
external usenet poster
 
Posts: 10
Default Decisions If Text References

Hi

This is using Word 2003 SP3.

I current have 3 Text Boxes (Form Fields). Two or more of these Form Fields
are required to be filled in. I would like to use IF, REF and bookmarks.

An example is below:

Name:
Country:
County:

So if somebody filled in Name=John Smith, Country=USA. I would expect to see:

Candidate Name: John Smith living in USA

If somebody filled in Name=John Smith, Country=UK, County=Kent. I would
expect to see:

Candidate Name: John Smith living in UK (Kent).

How can I do this using Fields in Word 2003, using fields such as IF, REF
and Bookmarks (these are assigned to Form Fields)

Kind Regards

D
  #2  
Old March 11th, 2010, 10:36 AM posted to microsoft.public.word.mailmerge.fields
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Decisions If Text References

Let's assume that you are allowing free editing and that your users can
spell UK, but may enter uk or Uk.
Let's also assume that you fields are named Text1 (Name) Text2 (Country) and
Text3 (County) then

Candidate Name: {Name} living in {Country}{IF{Text2 \*lower} = "uk" "
({Text3})"}

Check the calculate on exit check boxes of the form fields. If the fields
above are entered into a text box or into the header/footer you will need a
macro to update them.
--

Graham Mayor - Word MVP

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



"DMc2004" wrote in message
...
Hi

This is using Word 2003 SP3.

I current have 3 Text Boxes (Form Fields). Two or more of these Form
Fields
are required to be filled in. I would like to use IF, REF and bookmarks.

An example is below:

Name:
Country:
County:

So if somebody filled in Name=John Smith, Country=USA. I would expect to
see:

Candidate Name: John Smith living in USA

If somebody filled in Name=John Smith, Country=UK, County=Kent. I would
expect to see:

Candidate Name: John Smith living in UK (Kent).

How can I do this using Fields in Word 2003, using fields such as IF, REF
and Bookmarks (these are assigned to Form Fields)

Kind Regards

D



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.