[mso] Re: Word Form IF ?

  • From: "Glenda Wells" <gwells@xxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 1 Oct 2003 10:54:03 -0400

I obviously wasn't clear, when I originally sent this - sorry.

The data is in Excel but I need to pull it using MS Word.  This would be
for a mail merge where I only want to merge records containing telephone
numbers.  I don't have access to or control of the worksheet containing
the data except to extract information for the merges.  The field I'm
drawing from is called Communication.  The same field may contain either
a phone number or an email address.  If the field contains a phone
number I want it in my Word mail-merge.

/g

-----Original Message-----
From: Arul [mailto:a_arul15@xxxxxxxxx]=20

=3DIF(SEARCH("@",A1,1)>1,"Email","Not an Email")

Whereas the text "Email" and "Not an Email" are the
text and it can be replaced with your own message or representation of
an another cell value such as B2.

If you want use this function as a VB macro you follow
this=20

    If InStr(1, Cells(1, 1).Text, "@") > 1 Then
        'your result goes here
    End If

*************************************************************
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: