![]() |
#1
|
|||
|
|||
![]()
Hello,
I work for a company where we use several different labels (company names, logo's etc). In order to make sure our correspondence gets the label appropriate texts we've been using IF-fields to match the text to the label. For instance [IF [MERGEFIELD Label] = "label1" "text1" "text2" ] One of the labels is getting a new name and new label-specific information. We would now like to run a VBA script to find all the documents that have IF-constructs that call upon the old label name. When we use the Explorer's 'content:' search option it only shows Word documents that have the label name in the body (plain text) of the document and not in the IF-constructs. Is it possible to write a VBA macro that searches for text used in IF-constructs and then lists them in either a new Word document or an Excel document? Much thanks in advance! |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
dmreno | Word VBA | 3 | 07-30-2019 02:31 PM |
referenceing/finding word from one documents into another documents and indicating their location | rok123 | Word VBA | 1 | 02-07-2016 04:50 PM |
![]() |
ducky831 | Excel Programming | 3 | 09-17-2015 01:36 PM |
![]() |
mescaL | Word VBA | 3 | 11-03-2014 10:51 PM |
Finding specific text within body of email | Tammfran | Outlook | 0 | 03-14-2014 02:32 PM |