Hi Chavo,
I was looking for similar process of running macro to the end of document and I combined yours with some other property. This worked out for me.
Dim i As Long
i = 1
Do Until i > ActiveDocument.BuiltInDocumentProperties("Number of Pages")
`Your Stuff
i = i + 1
Loop
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.