Hi Andrew,
Thank you very much for the code. Seems to be a good approach. However, on first quick tests, calling the procedure resulted in an error:
Code:
Invalid procedure call or argument.
Depending on the text it comes already immediately or after some passes. In some texts the procedure does everything correctly until about the middle and only then exits. The rest of the text then remains as it is. In other texts it exits immediately.
I will try to find a solution.
Many greetings - Lothar