View Single Post
 
Old 07-08-2019, 08:53 AM
Peterson Peterson is offline Windows 10 Office 2016
Competent Performer
 
Join Date: Jan 2017
Posts: 143
Peterson is on a distinguished road
Default

Hi Paul,

Thanks again for your generous help on this macro last year. I've found that I need to more selectively use it, on a per-paragraph-only basis, without looping through an entire document, and I'm trying to extract just the meat of the macro from the loop through all paragraphs, so I can select just a paragraph and run the macro, but I'm stumped by something:

In the macro, it looks like you are using an attribute of the current paragraph -- the character number at the end -- to control the loop, as follows:

Code:
Do While .End < Para.Range.End
I have spent some time trying to get that number, without using the loop structure, to no avail? How do I get this number?

Thanks!
Reply With Quote