View Single Post
 
Old 03-10-2015, 03:14 PM
gmaxey gmaxey is offline Windows 7 32bit Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

You don't have to select anything.

Code:
Private Sub Document_ContentControlOnExit(ByVal ContentControl As ContentControl, Cancel As Boolean)
  Select Case ContentControl.Title 'or .Tag
     Case "Title of CC you want this code to fully execute"
        ActiveDocument.Fields.Update   
  End Select
End Sub
There are considerably better ways to defined conditional text based on a list selection that IF fields. See: http://gregmaxey.com/word_tip_pages/...wn%20list.html
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote