A
Alex
Happened with Word 2003.
Create the following Word document
AAA<p>
<p>
<p>
where <p> is the paragraph marker.
Select the whole document and do:
selection.MoveEndWhile Chr(13), wdBackward
Works fine.
Now, select the 1st line (the AAA) and add a comment to it.
Again, select the whole document and do:
selection.MoveEndWhile Chr(13), wdBackward
Word hangs.
How can I overcome that?
Create the following Word document
AAA<p>
<p>
<p>
where <p> is the paragraph marker.
Select the whole document and do:
selection.MoveEndWhile Chr(13), wdBackward
Works fine.
Now, select the 1st line (the AAA) and add a comment to it.
Again, select the whole document and do:
selection.MoveEndWhile Chr(13), wdBackward
Word hangs.
How can I overcome that?