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

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Accessing bookmarks that are located in the header (97/2000 )

    Author
    Topic
    #367190

    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?

    compute

    Viewing 1 reply thread
    Author
    Replies
    • #571874

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

      ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range.Bookmarks.Count

    • #571875

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

    Viewing 1 reply thread
    Reply To: Accessing bookmarks that are located in the header (97/2000 )

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: