It is possible to do it accurately with paragraphs or characters. Paul coded it according to the information you gave him.
Unfortunately, Word isn't good with 'lines' because that is a liquid concept because of column width, font size, typeface etc. So when you specified 3 lines we don't know exactly what that means.
The source and target ranges can be defined in terms of paragraphs or characters - both are independent of each other.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|