A
Angie M.
Hello,
I have the following code that needs to go into the Header, go to the
bookmark which is a graphic that I created a bookmark for, and then delete
the graphic. When I do it manually it works fine but the macro returns an
error that says it cannot find the bookmark. What am I doing wrong?? Thanks
for any suggestions:
Selection.HomeKey Unit:=wdStory
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Selection.GoTo What:=wdGoToBookmark, Name:="bkLogo"
Selection.ShapeRange.Delete
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
I have the following code that needs to go into the Header, go to the
bookmark which is a graphic that I created a bookmark for, and then delete
the graphic. When I do it manually it works fine but the macro returns an
error that says it cannot find the bookmark. What am I doing wrong?? Thanks
for any suggestions:
Selection.HomeKey Unit:=wdStory
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
Selection.GoTo What:=wdGoToBookmark, Name:="bkLogo"
Selection.ShapeRange.Delete
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument