how do I loop through individual words in a paragraph using MS Word vba

Dov_B
Dov_B used Ask the Experts™
on
how do I loop through individual words in a paragraph using MS Word vba
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Here's one way to do that:

Sub WordLoop()
Dim wr as Range
    For each wr in ActiveDocument.Words
        'Enter your code here
    Next wr
End Sub

Flyster

Author

Commented:
Thanks a gazillion!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial