I want to the function to be repeated again and again in the document till the end of document.
I used this code:
Code:
Do Until ActiveDocument.Bookmarks("\Sel") = _ ActiveDocument.Bookmarks("\EndOfDoc") '(Do something) Loop
Do Until ActiveDocument.Bookmarks("\Sel") = _ ActiveDocument.Bookmarks("\EndOfDoc") '(Do something) Loop
Leave a comment: