![]() |
|
#2
|
||||
|
||||
|
The simplest way is to use a ContentControlOnExit macro, coded along the lines of:
Code:
Private Sub Document_ContentControlOnExit(ByVal CCtrl As ContentControl, Cancel As Boolean)
Dim StrOut As String
With CCtrl
If .Title = "CC1" Then
If .Range.Text = "meets" Then
StrOut = "0.25"
Else
StrOut = ""
End If
ActiveDocument.SelectContentControlsByTitle("CC2")(1).Range.Text = StrOut
End If
End With
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| content control, value not display name |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Code to Sum Column of Content Control Values In Specific Tables?
|
warbird | Word VBA | 2 | 07-13-2015 05:44 AM |
| Word drop-down content control dependent display issue | vvcat | Word | 6 | 02-03-2015 11:20 PM |
| how to make building block content control determine bb to display elsewhere | jamles12 | Word VBA | 5 | 11-16-2013 11:38 AM |
Content control merge values?
|
skrallemand | Word VBA | 8 | 10-02-2013 06:54 AM |
Assigning Values to content control checkboxes and calculating results
|
creative cathy | Word Tables | 13 | 10-07-2012 08:52 PM |