![]() |
|
#4
|
||||
|
||||
|
Quote:
Quote:
That said, adding a bookmark isn't at all difficult. For example, after: If ContentControl.Type = wdContentControlCheckBox Then in the 'ContentControlOnExit' macro, you could insert: ActiveDocument.Bookmarks.Add Name:="LastUpdate", Range:=ContentControl.Range.Characters.Last.Next.N ext Note that the same bookmark name is used in each case. Of course, you'd probably want to add some extra logic to test whether the exit state was different to the entry state. Just adding the above on its own will bookmark any checkbox you exit. Adding the logic would require modifying the ContentControlOnEnter macro to capture the entry state so it can be tested before doing the update.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| activex command buttons and text boxes | TRG | Word | 0 | 02-03-2012 09:18 AM |
Office '03 + '07-->Performance?
|
markg2 | Office | 1 | 08-04-2011 06:09 AM |
Excel problem with buttons
|
AMD2800 | Excel Programming | 6 | 05-26-2011 07:47 AM |
| example of radio buttons in for data entry? | derohanes | Excel | 1 | 03-05-2011 09:37 AM |
Radio (options button) problem
|
Niros | Excel | 1 | 11-24-2005 09:58 AM |