![]() |
|
#5
|
||||
|
||||
|
Try the following
Code:
Private Sub UserForm_Activate()
Dim oBM As Bookmark
With ActiveDocument
If .Bookmarks.Exists("LJSidor1") = True Then
Set oBM = .Bookmarks("LJSidor1")
If oBM.Range.Font.Hidden = True Then
MsgBox "hidden"
LJNejKnapp.value = True
Else
MsgBox "not hidden"
LJJaKnapp.value = True
End If
Else
MsgBox "missing"
LJNejKnapp.value = False
LJJaKnapp.value = False
End If
End With
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Tags |
| radio button, vba |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Radio Buttons in Word Document in MAC Office 2016 | kim88 | Word | 3 | 12-19-2016 03:36 PM |
| Radio buttons in a particular page gets disabled when i scroll down and return back to that page. | arnprd | Word | 0 | 06-18-2015 10:54 AM |
| check box issue (problem with radio buttons from web page) Word 2013 | cQQlgirl | Word | 6 | 03-19-2015 07:23 PM |
Performance problem ActiveX radio buttons
|
NobodysPerfect | Word VBA | 8 | 05-31-2014 03:51 AM |
| example of radio buttons in for data entry? | derohanes | Excel | 1 | 03-05-2011 09:37 AM |