A
Angie M.
Hello,
I have the following macro that should delete a graphic in a header that I
have marked with a bookmark:
Sub NoELtr()
Selection.HomeKey Unit:=wdStory
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
ActiveDocument.Bookmarks("bkltrLogo").Range.Delete
Selection.ParagraphFormat.SpaceAfter = 42
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
Selection.MoveDown Unit:=wdLine, Count:=3
End Sub
I get an error that says it doesn't find it - could it be because it's in
the header, but I open the header. This can be done manually of course. Any
suggestions are appreciated.
I have the following macro that should delete a graphic in a header that I
have marked with a bookmark:
Sub NoELtr()
Selection.HomeKey Unit:=wdStory
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
ActiveDocument.Bookmarks("bkltrLogo").Range.Delete
Selection.ParagraphFormat.SpaceAfter = 42
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
Selection.MoveDown Unit:=wdLine, Count:=3
End Sub
I get an error that says it doesn't find it - could it be because it's in
the header, but I open the header. This can be done manually of course. Any
suggestions are appreciated.