Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2022, 08:04 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
Default



Quote:
Originally Posted by Guessed View Post
We can't answer this without knowing how you are providing the 20 words. They might be in a string or an array or a range or a dictionary etc.
Thanks, Mr. Andrew,
Excuse me, It could be string, also it could be any 20 words for example
(test, demo,test, demo,test, demo,test, demo,test, demo,test, demo,test, demo,test, demo,test, demo,test, demo).

So for instance, if the number of words in the document is 3, insert 17 words from previously mentioned words, and in such a manner.
Reply With Quote
Reply

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 08:04 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