I thank you very much Greg for your fast and useful reply.

I forget to tell one thing. In my example I've used "SPEAKER ONE" and "SPEAKER TWO". But this is just an example, because these words in each document are replaced with the name of the speakers. And in one document there are a lot of different speakers. So a real example could be:

TESTIMONE ROSSI M. - Bla bla bla
DOTT. BIANCHI S. - Bla bla bla
GIUDICE - Bla Bla bla
AVV. VERDI - Bla bla bla

and so on. I cannot insert into the macro a specific name of a paerson, because for each document it changes. But for sure if the following paragraph has the first 9 letters like the previous one, it is an error. Like this

TESTIMONE ROSSI M. - Bla bla bla
DOTT. BIANCHI S. - Bla bla bla
DOTT. BIANCHI S. - Bla Bla bla
AVV. VERDI - Bla bla bla

Paragraph 3 is for sure a mistake, because it is the same as paragraph 2. The spaker changes, because I pressed ENTER for a new paragraph. But I've inserted the same name as the previous paragraph, so I made a mistake. During fast typing can happens that I don't recognize, above all after hours of job. If I could check with a macro once finished the document, would be really useful.

Thanks again.

Daniele.