All those red lines in your code are errors. Instead of replacing 'smart' single quotes with straight single quotes and replacing 'smart' double quotes with straight double quotes, all you've done is to replace
some 'smart' single quotes with straight double quotes.
In the posted code, there are 18 'smart' single quotes to replace with straight single quotes and 14 'smart' double quotes to replace with straight double quotes.
You said in post #1:
Quote:
The goal is to make sure I keep sentences under 22 words
|
and now you say you're OK with VBA's inaccuracies in the grammatical sentence Word count. That's illogical: the demo sentence I posted has 26 words...