![]() |
#2
|
||||
|
||||
![]()
If you provided the existing code along with a sample doc it would be easy enough to provide you the relevant code modifications. In the absence of that, your code could cycle through a collection of Content Controls and create a function that processes each ticked CC based on the page it resides on.
Code:
Sub ProcessPages() Dim aCC As ContentControl For Each aCC In ActiveDocument.ContentControls If aCC.Checked Then MsgBox "This page has a checked CC: " & aCC.Range.Information(wdActiveEndPageNumber) End If Next aCC End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
JennEx | Mail Merge | 2 | 05-28-2019 05:55 PM |
![]() |
DEsh | Word VBA | 2 | 10-06-2017 08:23 PM |
Copy ActiveX-Checkbox with code | DanielM125 | Word VBA | 0 | 06-04-2015 12:49 AM |
![]() |
bandrist | Word VBA | 2 | 08-14-2013 09:02 AM |
Excel ->VB code for Checkbox (control toolbox) | kirkstyle | Excel | 0 | 08-16-2006 04:17 PM |