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 / February 2004

Tip: Looking for answers? Try searching our database.

If...then...else... comparison operator 'contains'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KoolPal - 23 Feb 2004 10:31 GMT
Hello folks

I am trying to mail-merge in word 2000 with a data-source of excel 2000

One of my columns has data which start with alphabets follwed by numbers. I need to insert specific text if this data starts with PP

Using the If...then...else... option I am limited to operators such as 'equal to', 'not equal to', etc. I am trying to the operator 'contains'

Can anybody help me with this

Thanks a ton

Cheers
-=KoolPal=-
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 23 Feb 2004 14:04 GMT
Use the Left() function in Excel to create another column of data that
contains the first two characters of the column and then use an If
..Then..Else on that field in the mailmerge main document.

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP

> Hello folks,
>
[quoted text clipped - 12 lines]
> Cheers,
> -=KoolPal=-
 
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.