![]() |
|
#3
|
|||
|
|||
|
I have tryed a lot. This is the one I am working with right now. It is giving me error 5941.
Private Sub LPja_Click() If ActiveDocument.FormFields("LPja").CheckBox.Value = True Then ' Vis tabellen ActiveDocument.Bookmarks("TabelLP").Range.Font.Hid den = False Else ' Skjul tabellen ActiveDocument.Bookmarks("TabelLP").Range.Font.Hid den = True End If End Sub I have attached the file, i hope
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VBA to show/hide checkboxes- always showing bookmark | KSmart | Word VBA | 4 | 11-07-2023 02:24 PM |
| Bookmark will not show/hide based on CC Checkbox | lord_kaiser | Word VBA | 1 | 04-17-2018 01:19 AM |
How to use checkbox to show/hide bookmarked text?
|
namrehx | Word VBA | 16 | 12-14-2017 01:45 PM |
| How to use checkbox to show and hide bookmarked text? | namrehx | Word VBA | 1 | 12-12-2017 02:17 PM |
Show/Hide Text based on Checkbox Selection
|
tammytran105 | Word VBA | 7 | 10-02-2014 04:30 PM |