Thread: [Solved] Loop Until End of Document
View Single Post
 
Old 02-22-2021, 01:50 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Since you haven't told us anything meaningful about what your macro is supposed to do, all we can draw conclusions on is what you have posted. Nothing you've told us so far supports your claim that your macro does anything very well.
Quote:
Originally Posted by Stephen Ray View Post
The arbitrary counter is not needed to test:
Selection.Range.End = ActiveDocument.Range.End


However, I like the good counter for testing, development and demonstration purposes.
With all due respect, that is not what your arbitrary counter counter does.

Quote:
Originally Posted by Stephen Ray View Post
Content re-arrangement of sets of data does not lend itself to Find/Replace because each set has different variables.
All that tells us is that you haven't learned to used Find/Replace to full advantage. I have posted many threads demonstrating how it can be used to re-arrange content containing variable data.
Quote:
Originally Posted by Stephen Ray View Post
It does this very well.
Quite the contrary, in fact.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote