Add a bookmark to the Header using Word VBA
Its easy to add a bookmark to the header where there is a range to add it to, eg:
ActiveDocument.Bookmarks.Add name:="MyBookmark", Range:=ActiveDocument.Sections(1).Headers(wdHeader FooterPrimary).range.Paragraphs(1).Range
But how do you set the bookmark to be at the beginning of the header with no range enclosed, ie just the I-beam shape I where the bookmark does not enclose anything.
Can this be done without using the selection object?
It sounds easy but I dont see a way to do it.
Any ideas?
Thanks
Chris
|