need macro to count span of words & highlight the span
docx file contains Arabic & Latin characters.
1. i need to find any span of words more than 10 words without containing any punctuation characters (meaning if the code encounters non letter character it will restart counting after it).
2. then, highlight the found span of words in turquoise color if possible.
it doesn't matter if the found span of words contains both Arabic and Latin.
Last edited by rufoof; 03-20-2023 at 02:16 AM.
Reason: typo
|