Thread
:
Copy words from word to excel
View Single Post
01-30-2021, 06:40 AM
gmayor
Windows 10
Office 2016
Expert
Join Date: Aug 2014
Posts: 4,106
The code I posted assumed that the 'x' indicated a number. Try instead
Code:
Do While .Execute(findText:=CStr(vID(i)) & "[0-9A-Z\-]{1,}>", MatchWildcards:=True)
See
Replace using wildcards
__________________
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