[mso] Re: Word Form IF Statement...Maybe?

  • From: "Ray Blake" <ray@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Fri, 3 Oct 2003 17:56:03 +0100

Glenda,

Have you tried this:

: {IF {MERGEFIELD "Communication"}<>"*@*" {MERGEFIELD
"Communication"}""}

Just a thought.

Ray
_____________

This email is from Ray Blake, Head of Software Design, GR Business
Process Solutions. It is confidential and intended for the addressee
only. The contents are private and may be legally privileged. If you
receive this email in error we would be grateful if you would advise the
sender and delete the email from your system.

For more information on the services that we offer please visit us at
our website: - www.grbps.com 


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Glenda Wells
Sent: 03 October 2003 14:21
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Word Form IF Statement...Maybe?

This would work Linda but I'd prefer to do it in a field if possible so
the person who inherits this task doesn't have to bother.

I was thinking if I could do something that says IF (or Next IF or Skip
If), MERGEFIELD contains an @ symbol, exclude it.  I've been
experimenting but can't quite get it.

Here's what I wrote which doesn't work: {IF {MERGEFIELD
"Communication"}<>"@" {MERGEFIELD "Communication"}""}

The reason this doesn't work is because none of my fields are just an @
symbol but may include the @ symbol. I realize I need a way to say "does
not contain" but can't figure out how.  I found this in the help file
but don't understand

" If the operator is =3D or <>, Expression2 can contain a question mark
(?) to represent any single character, or an asterisk (*) to represent
any string of characters. The expression must be enclosed in quotation
marks so that it is compared as a character string. "

/g

-----Original Message-----
From: Linda F. Johnson [mailto:linda@xxxxxxxxxxxxxxxxxxxxxxxxxxx]=20
Sent: Thursday, October 02, 2003 3:10 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Word Form IF Statement...Maybe?


Ok..here's how I did it in Word 2002/2003

Go into your Merge document....and go to Step 3 of the merge...in there,
click on Edit Recipient List and that will show you the Excel stuff with
the field names at the top...click on the dropdown for the Communication
field...and choose (Advanced...)

In there, click on the Field dropdown and choose Communication...then
click on the  Comparison dropdown and choose Does Not Contain...then
type an @ into the next box that says Compare To..then click OK

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:

http://www.smartgroups.com/vault/msofiles
*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: