B
bryan
Programmically I have used insert section break to insert a document.
First page of template has footer/header
What I would like to do for a project is to insert a document that
has 2 colums with no footer/header.
How can I turn off the footer and header of the document being pulled in
but, leave the footer and header on the 1st page?
Here is what I am using for inserting:
If ActiveDocument.FormFields("Check2").CheckBox.Value = True Then
Dim myDoc As Document
Dim docrange As Range
Set myDoc = ActiveDocument
With myDoc
.Unprotect
Set docrange = .Range
docrange.Collapse wdCollapseEnd
docrange.InsertBreak wdSectionBreakNextPage
Set docrange = .Range
docrange.Collapse wdCollapseEnd
docrange.InsertFile "W:WC No Treatment Letter.doc"
.Protect wdAllowOnlyFormFields, NoReset
End With
End If
First page of template has footer/header
What I would like to do for a project is to insert a document that
has 2 colums with no footer/header.
How can I turn off the footer and header of the document being pulled in
but, leave the footer and header on the 1st page?
Here is what I am using for inserting:
If ActiveDocument.FormFields("Check2").CheckBox.Value = True Then
Dim myDoc As Document
Dim docrange As Range
Set myDoc = ActiveDocument
With myDoc
.Unprotect
Set docrange = .Range
docrange.Collapse wdCollapseEnd
docrange.InsertBreak wdSectionBreakNextPage
Set docrange = .Range
docrange.Collapse wdCollapseEnd
docrange.InsertFile "W:WC No Treatment Letter.doc"
.Protect wdAllowOnlyFormFields, NoReset
End With
End If