View Single Post
 
Old 10-26-2022, 10:52 AM
laith93 laith93 is offline Windows 10 Office 2019
Competent Performer
 
Join Date: Jul 2021
Posts: 117
laith93 is on a distinguished road
Post Macro to insert certain words if the number of words than 20

Hi,
I have a template word file for checking, the checking system ensures me to insert at least 20 words, sometimes the number of words is less than 20, so it requires additional words in order to be 20 in total.

However, I want a macro that firstly counts the number of words, then if the number of words is less than 20, inserts certain additional words to be 20 words exactly, if it is 20 and more, does nothing.

Thanks
Reply With Quote