Referencing a check box result within a formula
Hi Sean,
Not possible via field coding, unfortunately, so you'll need to use a macro. For example, with a formfield checkbox named 'Check1'
you could set the following as an 'on exit' macro for that field:
Sub CheckState()
If ActiveDocument.FormFields("Check1").Result = 1 Then
'Whatever you want to do if the value = TRUE
End If
End Sub
--
Cheers
macropod
[MVP - Microsoft Word]
"Sean N." Sean wrote in message ...
I am trying to create an "If" formula that uses a check box result as the
operator. What should I reference to get a desired result when a check box
is marked as opposed to unmarked?
|