Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    109
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Accessing bookmarks that are located in the header (97/2000 )

    Can anyone tell me how to use VBA to access bookmarks that are located in the header area. Or can you recommend another solution for inserting data collected from a user form into the header section?

    <img src=/S/compute.gif border=0 alt=compute width=40 height=20>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Accessing bookmarks that are located in the header (97/2000 )

    Try accessing your bookmarks using the Headers property of a Section object. It looks something like this:

    ActiveDocument.Sections(1).Headers(wdHeaderFooterP rimary).Range.Bookmarks.Count

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Accessing bookmarks that are located in the header (97/2000 )

    Please post any further comments in this thread on the VBA board.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •