Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2024, 05:52 AM
Rikke Rikke is offline How to hide and show a tabel using bookmark and checkbox Windows 10 How to hide and show a tabel using bookmark and checkbox Office 2021
Novice
How to hide and show a tabel using bookmark and checkbox
 
Join Date: Apr 2024
Posts: 3
Rikke is on a distinguished road
Default

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
Attached Files
File Type: docm Test4.docm (66.8 KB, 9 views)
Reply With Quote
Reply



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 hide and show a tabel using bookmark and checkbox 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
How to hide and show a tabel using bookmark and checkbox Show/Hide Text based on Checkbox Selection tammytran105 Word VBA 7 10-02-2014 04:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft