![]() The same ContentControlOnExit event triggers for ALL content controls in the document, so you need a Select Case or If conditional to query the ContentControl argument in order to know which content control was exited. These events are available in the ThisDocument module, in the Document category. Similar to form fields, Content Controls only have "editing" events that trigger on the user entering and exiting the content control. Working with content control events is not as simple and intuitive as with ActiveX controls. The code you show us is for ActiveX controls, which you say you don't want to use. Nor can they be identified by VBA by their Title property. ![]() ![]() If these are Content Controls, as you indicate, then they do not have a CLICK event.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |