![]() |
|
#1
|
|||
|
|||
|
Hi I have the following code
Code:
Private Sub Acknowledge_Click()
ActiveDocument.Bookmarks("TextToHide").Range.Font.Hidden = Acknowledge.Value
End Sub
It partially works (only hide paragraph but not checkbox) when i convert the checkbox to ActiveX. Appreciate any help Thanks |
|
#2
|
|||
|
|||
|
Try this:
Code:
Private Sub Acknowledge_Click()
Dim rngBookmark As Range
Set rngBookmark = ActiveDocument.Bookmarks("TextToHide").Range
rngBookmark.Font.Hidden = True
End Sub
|
|
#3
|
|||
|
|||
|
It cannot run at all. The hidden text went missing totally.
|
|
#4
|
|||
|
|||
|
I'm sorry -- I now realize that I tested with a forms checkbox, not an ActiveX checkbox. I also don't have access to my computer with Office 2010 on it, though I don't think that matters. Hopefully, another forum user can help you out.
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make Images disappear | Taktis | PowerPoint | 0 | 03-03-2017 11:24 AM |
| Make Outline Dashed Line Disappear | Barklie | Word | 2 | 01-17-2017 01:00 AM |
| HELP! How to make a shape appear and disappear | Firewife03 | PowerPoint | 1 | 08-21-2016 11:48 PM |
| HELP! How to make a shape appear and disappear | Firewife03 | Excel | 0 | 08-20-2016 09:57 PM |
| Click a box and make only the box disappear | JoelW2013 | PowerPoint | 0 | 12-09-2013 02:51 PM |