Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2022, 10:52 AM
laith93 laith93 is offline Macro to insert certain words if the number of words than 20 Windows 10 Macro to insert certain words if the number of words than 20 Office 2019
Competent Performer
Macro to insert certain words if the number of words than 20
 
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
 

Tags
vba code, word vba code, word vba macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to insert certain words if the number of words than 20 Insert words before and after any italics benfarley Word VBA 1 03-30-2022 08:35 PM
How to find (highlight) two and more words in a list of 75k single words in Word 2010 Usora Word 8 05-29-2018 03:34 AM
Macro to insert certain words if the number of words than 20 How to mark underlined words in a sentence as A, B, C, D (beneath the words) thudangky Word 13 12-12-2013 02:22 AM
Macro to insert certain words if the number of words than 20 Macro for highlighting specific number of words icsjohn Word VBA 2 12-07-2011 06:44 PM
Why Words doesn’t show the style of the selected words automatically???? Jamal NUMAN Word 0 04-14-2011 03:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft