View Full Version : Solved: between bookmarks
nerydias
12-18-2007, 04:49 PM
Hi people,
how I can to select and copy a text between 2 bookmarks?
thanks
Nery
TonyJollans
12-19-2007, 01:23 AM
With ActiveDocument
.Range(.Bookmarks("Bookmark1").End, .Bookmarks("Bookmark2").Start).Copy
End With
nerydias
12-19-2007, 05:44 AM
Hi Tony,
when I try the code, recivied the error:
code 4608
Value Out of Interval
any idea?
thanks
Nery
TonyJollans
12-19-2007, 07:10 AM
Does Bookmark2 come after Bookmark1 in your document?
nerydias
12-19-2007, 07:14 AM
Tony,
realy, now works,
thanks a lot
Nery
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.