N
Nancu
Thanks for looking at this. I need a macro that will go
into each footer in each section of my document (first
page footers included) and type some text. Here's my
attempt:
Sub testFooters()
If Documents.Count = 0 Then Exit Sub
Dim i As Integer
For i = 1 To ActiveDocument.Sections.Count
With ActiveDocument.Sections(i)
ActiveWindow.ActivePane.View.SeekView =
wdSeekCurrentPageFooter
Selection.TypeText
Text:="C:\nrport\Admin\AGarber\xx9323_1.doc"
ActiveWindow.ActivePane.View.SeekView =
wdSeekMainDocument
End With
Next i
End Sub
It simply repeats the text many times in the same footer.
Can you help me with the code? Thanks a lot
into each footer in each section of my document (first
page footers included) and type some text. Here's my
attempt:
Sub testFooters()
If Documents.Count = 0 Then Exit Sub
Dim i As Integer
For i = 1 To ActiveDocument.Sections.Count
With ActiveDocument.Sections(i)
ActiveWindow.ActivePane.View.SeekView =
wdSeekCurrentPageFooter
Selection.TypeText
Text:="C:\nrport\Admin\AGarber\xx9323_1.doc"
ActiveWindow.ActivePane.View.SeekView =
wdSeekMainDocument
End With
Next i
End Sub
It simply repeats the text many times in the same footer.
Can you help me with the code? Thanks a lot