Thread: [Solved] Sentence word count
View Single Post
 
Old 09-05-2018, 05:56 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote