Hi
I have bookmarked some lines for copy and paste to another document and would like to also mark the next line. Is there a way to do this?
For example Sigma is bookmarked so that I can copy and paste the those lines to another document but I would like to be able to also mark the lines with the percentages below.
>Sigma 7331 6596 186
100% 100% 100%
Thanks for any help!
Laurie
Search options
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
ctrl home
macro record
F2
down arrow
ctrl F2
macro stop recording
in the dialog box, name it marknext and choose "repeat to end of file"
macro marknext
Explanation: this creates a macro which repeatedly goes to the next marked line, goes down one line, and toggles the bookmark on that line. Note that TP does not have a "set bookmark" command, which has some ramifications. If you run the macro twice, it reverses its action. If you have two consecutive lines already marked, the second will get unmarked and the line after it will NOT get marked. Also, I find that the first line needing marking tends to get left in the wrong state; I haven't tried to figure out why. As long as you can live with these limitations, it should work.
The obvious solution, of forcing the Find to include the line following the target word, does not work. Apparently "mark all" only marks the first line of the found target.
Edward
macro record
F2
down arrow
ctrl F2
macro stop recording
in the dialog box, name it marknext and choose "repeat to end of file"
macro marknext
Explanation: this creates a macro which repeatedly goes to the next marked line, goes down one line, and toggles the bookmark on that line. Note that TP does not have a "set bookmark" command, which has some ramifications. If you run the macro twice, it reverses its action. If you have two consecutive lines already marked, the second will get unmarked and the line after it will NOT get marked. Also, I find that the first line needing marking tends to get left in the wrong state; I haven't tried to figure out why. As long as you can live with these limitations, it should work.
The obvious solution, of forcing the Find to include the line following the target word, does not work. Apparently "mark all" only marks the first line of the found target.
Edward