Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Referencing a check box result within a formula
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? |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
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? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to get Formula result to update automatically? | Microsoft Word Help | |||
Formula field syntax for testing check box | Microsoft Word Help | |||
Form Formula doesn't work if the result is ZERO? | Microsoft Word Help | |||
referencing cell with check box | Tables | |||
How do you create a formula in a table where the result appears a. | Tables |