View Single Post
 
Old 08-22-2019, 08:02 AM
JohnWilson JohnWilson is offline Windows 10 Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

I'm out of Office right now but try replacing

strmatch = "[" & Chr(147) & "," & Chr(34) & "]" & ".*?" & "[" & Chr(148) & "," & Chr(34) & "]"

WITH

strmatch = "[" & Chr(147) & "|" & Chr(34) & "]" & ".*?" & "[" & Chr(148) & "|" & Chr(34) & "]"
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote