View Single Post
 
Old 02-16-2024, 07:56 AM
Shelley Lou Shelley Lou is offline Windows 10 Office 2016
Expert
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default VBA Adding missing Punctuation to end of Paragraphs

Hi Andrew, wow, this is incredible, I would never in a month of Sundays be able to create something like this, thank you so much.

Something I've noticed is if the paragraph starts with a character other than a letter e.g. a bracket, the code doesn't recognise that the first letter of the paragraph is actually lowercase and automatically inserts a period instead of a semi-colon.

Similarly, if there is e.g. a bracket before the sLastWords sting it doesn't recognise to add punctuation which could be why it is not recognising the square bracket also.

What would you suggest be added to solve this issue?

I've attached a really scaled down document so you can see what I mean at the highlighted paragraphs.

image 1.png

Test Punctuation 16.02.2024.docx
Reply With Quote