Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. onekabee

    Acessing a bookmark in a header

    Thanks again, hope you had a good nap. You cleared some things up !!!!!!! Bart
  2. onekabee

    Acessing a bookmark in a header

    Gerry, thanks for the added a simple "vbCrLf" for more clear reading. Works fine .... but what do you mean with through every header type (there are three in each header), are ther three header types ?? wdHeaderFooterFirstPage ? wdHeaderFooterPrimary ?
  3. onekabee

    Acessing a bookmark in a header

    new to VBA, how could i handle header-sections, with a loop, Could you give a link for more detailed info ... Thanks for the comment
  4. onekabee

    Acessing a bookmark in a header

    To access a bookmark in the header please add this code to your vba script Dim oRange As Range Set oRange = ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary) _ .Range.Bookmarks("TEST").Range oRange.Text = "TEST THIS BOOKMARK" ActiveDocument.Bookmarks.Add Name:="TEST", Range:=oRange...

Part and Inventory Search

Back
Top