Unhide pages with button
Hi, I'd like to hide/unhide pages with buttons. I have 3 section. Every section is 10-15 pages with text, tables and a picture. Has a max page or character limit? If I use the macro with half or one page, everything is fine, but if I make a bookmark from all of 10 pages, it doesn't work anymore. Edit1: I try it with 50 pages, just text and no problem. What can be the problem? The tables?
My macro for first section:
Private Sub section1_Click()
If Bookmarks("bm1").Range.Font.Hidden = False Then
Bookmarks("bm1").Range.Font.Hidden = True
Else
Bookmarks("bm1").Range.Font.Hidden = False
End If
End Sub
|