Macro question

sthaler

Member²
I'am trying to write a macro, that makes four - five 'find and replaces'. My problem is that the macro stops at the first message ("x item(s) replaced").
Is there a possibility to tell the macro to continue?
Version used is 7.1.4.1390

Thanks
Sepp
 
Are these the same find and replacement texts, or are they different each time, using the find & replace dialog?
 
In that case you can perform the find & replace one, and subsequently use "Repeat Last Find (Ctrl-L)" and "Replace (Ctrl-P)" from the keyboard to record the macro.
 
Sorry Marco,
I didn't explain enough...
My problem is not to replace the same string n times, but to replace n times FROM1 to TO1 and with the same macro replace too n times FROM2 to TO2
I was trying with: 1 (go to line 1), (Find&Replace) FROM1TO1 (Replace All).
Since here it was all OK.
I continued with (Close the Find&Replace Box) and repeated with go to line 1, and so on for the second string. When recording the macro all worked well.
But when replaying the macro it stops in the first Find&Replace Box. I believe the Result Message "7 item(s) replaced" was stopping the macro.
It is not urgent, since I can do the work with four different macros for four replaces, but this is annoying :( and easy to skip one by mistake.
 
Back
Top