That was more clear to me indeed, though I may not have expressed myself properly.
I created a small 4 pages Word file as a test, including 3 different sections (with 3 different headers). Running your procedure (step by step) went in the loop 9 times, so I found it confusing, but thinking about it, I assume this is because each section has 3 header.