Please can anyone help. I use a macro which makes the document into book fold and landscape paper. The document has a different first page header and footer. In just some cases when I use my macro, it ignores the fact that I have a different first page header and footer. I thought I could put a line into the macro that would fix this when it happeneds I have recorded a macro to insert into this macro, but it does not seem to make any difference. The first page should not have a line in the header or footer, but in some instances it puts it in there ? Could anyone help please.
If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
ActiveWindow.Panes(2).Close
End If
If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _
ActivePane.View.Type = wdOutlineView Then
ActiveWindow.ActivePane.View.Type = wdPrintView
End If
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument