Jump to content

Recommended Posts

Posted

Hello everyone,

I have a word document opened with Table of Contents in Frame. In the Table of Contents in Frame, I have inserted checkboxes next to each hyperlink. I wasn't able to jump to the hyperlinks using code therefore I am trying Bookmarks. Below is the Macro for a checkbox but it's not working because the bookmark only exists in the main document and not in the frame. Attached is a screen capture of what I am trying to achieve. If I can define what frame the bookmarks belong to might work. I would appreciate any comments or assistance.

Private Sub CheckBox1_Click()

If CheckBox1.Value = True Then

ActiveDocument.Bookmarks("BM1").Select

End If

End Sub

post-141985-1181823391_thumb.jpg


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...