Thread
:
VBA to Find and Format Text string defined using Inputbox within selection
View Single Post
10-03-2014, 03:57 AM
gmayor
Windows 7 64bit
Office 2010 32bit
Expert
Join Date: Aug 2014
Posts: 4,142
Add the match whole word option (or the wildcard option)
e.g
Code:
With oRng.Find .MatchWholeWord = True .Text = InputBox("Enter text to find.") Do
__________________
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