Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2022, 12:02 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
Try this code
Dear Andrew, Thanks so much
But, excuse me, dear Andrew, the code works fine and perfectly for some files but not for others (I have been shocked)
See the attachment title file, although the words number is <20, it inserts additional words to be 14 in total (not 20)
I have another file, it inserts additional words to be 16 in total (not 20)

I don't know what is the problem with these files.
So any suggestion with my special thanks .
Attached Files
File Type: docx Title.docx (18.4 KB, 5 views)
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 04:42 PM.


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