![]() |
#10
|
|||
|
|||
![]()
You're the one, thanks a lot
![]() I have separated in 2 check,
After Code:
Set oSource = ThisDocument Code:
'test si les chapter 1 ou 2 sont cochés If oSource.SelectContentControlsByTitle("Chapter1").Item(1).Checked = False And _ oSource.SelectContentControlsByTitle("Chapter2").Item(1).Checked = False Then MsgBox "Les cases 1 ou 2 doivent être cochées" GoTo lbl_Exit End If 'test si les chapter 1 et 2 sont cochés If oSource.SelectContentControlsByTitle("Chapter1").Item(1).Checked = True And _ oSource.SelectContentControlsByTitle("Chapter2").Item(1).Checked = True Then MsgBox "Les cases 1 et 2 ne doivent pas être cochées ensemble" GoTo lbl_Exit End If |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bookmark will not show/hide based on CC Checkbox | lord_kaiser | Word VBA | 1 | 04-17-2018 01:19 AM |
![]() |
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 |
![]() |
derajlance | Word VBA | 1 | 05-13-2016 01:55 PM |
![]() |
tammytran105 | Word VBA | 7 | 10-02-2014 04:30 PM |