A family of Microsoft word processing software products for creating web, email, and print documents.
Charles,
I think that you got that back to front. You want to set the distance of the header from the edge of the page to 0 so that it does not affect the top margin as it may if it is set to a value that is more than the top margin.
Here the header distance is set to 0 and the top margin is set to 5mm
This is what happens if the top margin is 5mm and the distance of the header from the edge of the page is set to the default of 12.5mm (1/2")
Sure, when you close the Header pane, the top margin reverts to where you expect it to be on the machine on which your are creating the document.
However, it's when the document is re-laid out when opened on another device that the header distance may come into play again.