Home |
Search |
Today's Posts |
#1
|
|||
|
|||
IF THEN ELSE Statement built by searching for a word in a Text Field
MS WORD does not give me the ability to search a text field to see if
it "contains" a certain word, which then can trigger a "Then" statement. Can it be done? EX: IF Mergfield Q2 contains the word "cost" insert the following paragraph |
#2
|
|||
|
|||
Word is a word processor, not a database. If you need to manipulate data,
you should use a database. If you can't do that, you could use a macro that makes use of the Wildcard search facility to populate another field that you create in the datasource with something if the word is found in the field. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Nick" wrote in message oups.com... MS WORD does not give me the ability to search a text field to see if it "contains" a certain word, which then can trigger a "Then" statement. Can it be done? EX: IF Mergfield Q2 contains the word "cost" insert the following paragraph |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF THEN ELSE Statement built by searching for a word in a Text Field | Mailmerge | |||
Statement parameter in Mailmerge.OpenDataSource | Mailmerge | |||
Possible BUG: Multiple HTTPrequests send from one includetext statement | Mailmerge | |||
How do I copy a scanned signature into an if/or statement in Word | Mailmerge | |||
Insert carriage return in mergefield statement | Mailmerge |