M
Marat
Hello,
I need to point an object to the current page header. If d is my active
document, I do:
Dim MyHeader As Word.HeaderFooter
d.ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Set MyHeader = d.Sections(d.Sections.Count).Headers(wdHeaderFooterPrimary)
The current header could be different type (not the primary, but firstpage,
oddpage, evenpage etc.). How can I point an object var to the header in
which the cursor is positioned after the View.SeekView has located that
header for me?
Thank you in advance,
Marat.
I need to point an object to the current page header. If d is my active
document, I do:
Dim MyHeader As Word.HeaderFooter
d.ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Set MyHeader = d.Sections(d.Sections.Count).Headers(wdHeaderFooterPrimary)
The current header could be different type (not the primary, but firstpage,
oddpage, evenpage etc.). How can I point an object var to the header in
which the cursor is positioned after the View.SeekView has located that
header for me?
Thank you in advance,
Marat.