There are far easier ways to do what your code does, but it doesn't do what you think it does - all it does is get the primary header for the current Section (not the current page header). What your code clearly doesn't do is retrieve what might be a 'first page' or 'even page' header when that's what might be displayed for the selected page.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|