Yet again your test document is formatted differently from the others for which I developed the code!!! It's even different from the 'jesaja' document in post #44. Your very first chapter entry, for example (i.e. 1e HOOFDSTUK.) has two faults:
1. it is in italics; and
2. it should read 'HOOFDSTUK. 1', not '1e HOOFDSTUK.'
The macro relies on the verses alone being in italics and the first chapter being indicated by 'HOOFDSTUK. 1'.
I cannot keep re-writing the macro for every different document format you have. You are going to have to ensure that every document is correctly formatted before running the macro. Getting the documents all into a consistent format will be good for whatever else you use them for also.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|