View Single Post
 
Old 09-15-2020, 07:20 AM
rcbjr2 rcbjr2 is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2020
Posts: 5
rcbjr2 is on a distinguished road
Default

Macropod,

I know this string is old, but I just found it, and I am trying to use your title case code. However, Word 2016 chocks on this line: StrPunct = "!,;,:,.,?,/,(,{,[,<,",""". Is there a different way to format it? In the forum, it looks like the next to last quote (inside the lasts comma) is a left curly quote. Could that be the issue? Anyway, I just copied and pasted your code into the VBA editor in Word and tried to run it and it stops on the StrPunct line (which I thought it might because it's higlighted in red). Thanks!
Reply With Quote