|
#1
|
|||
|
|||
Check boxes
Thank you once again for your time. I don't think I explained myself that well on my earlier reply.
So I had the checkboxes which I've gotten rid of and changed to content control check boxes like you suggested which is amazing. However, those original checkboxes had VBA code tied to them like this: Private Sub Auto_Click() ActiveDocument.Bookmarks("Auto").Range.Font.Hidden = Not AUTO.Value ActiveDocument.Bookmarks("BAHazard").Range.Font.Hi dden = Not AUTO.Value ActiveDocument.Bookmarks("BAUTUW").Range.Font.Hidd en = Not AUTO.Value ActiveDocument.Bookmarks("AutoPricing").Range.Font .Hidden = Not AUTO.Value ActiveDocument.Bookmarks("BALRS").Range.Font.Hidde n = Not AUTO.Value End Sub However, now with the content control checkbox and the VBA code that you were gracious enough to help me with I am only able to show/hide one bookmark vs the 5 that were tied to the previous *check boxes* |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UserForm with checkboxes that hide/show bookmarked text in document | dohertym | Word VBA | 4 | 05-16-2022 09:48 PM |
Checkbox - toggle hide/unhide other checkboxes and their texts | Basse | Word VBA | 2 | 05-11-2022 10:43 PM |
Hide one bookmark when Two checkboxes are checked | AVarg123 | Word VBA | 4 | 04-01-2022 06:21 PM |
REf Fields show Bookmark whole cell when Bookmark is created by code. | pmcpowell | Word VBA | 2 | 11-16-2019 07:05 PM |
Bookmark will not show/hide based on CC Checkbox | lord_kaiser | Word VBA | 1 | 04-17-2018 01:19 AM |