Jump to content

Checkboxes


btran007

Recommended Posts

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

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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