Thread
: [Solved]
Finding specific text in IF-fields across multiple Word documents
View Single Post
10-19-2017, 12:58 AM
gmayor
Windows 10
Office 2016
Expert
Join Date: Aug 2014
Posts: 4,137
The line is
Code:
If Trim(Split(UCase(.Code.Text), "MERGEFIELD")(1)) = "LABEL" Then
i.e. in upper case!
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes
www.gmayor.com
gmayor
View Public Profile
Find all posts by gmayor