View Single Post
 
Old 02-15-2024, 11:08 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, thank you so much for the updated code, it really is appreciated – I love how it whizzes through the document – I've run it several times on some large documents. There are just a couple of things the code isn't recognising:

If footnote references are at the end of the paragraph or if a text box field is before the words 'and', 'or' etc or if there is bold text within the paragraph - is this because at the beginning of the code its set to skip bold font? I added this in so that the code would skip bold headings rather than bold text within a paragraph.

Would it also be possible that if a paragraph ends with a semi-colon but the next paragraph starts with a Capital letter to make the semi-colon a period? I've added some images rather than upload a 70 page document.

Thank you so much for you help on this.

Pic1.JPG
Reply With Quote