On Oct 25, 8:51 am, Jamilamadingdong
<Jamilamadingd...@discussions.microsoft.com> wrote:
> I am using Word 2002 (Office XP) and want to create a form where, if a user
> checks a particular check box form field, it causes an amount to appear in
> another field (for instance, 0.50%). Can anyone help me out?
Something like this set to run on exit from the checkbox formfield:
Sub Scratchmacro()
Dim oFF As FormFields
Set oFF = ActiveDocument.FormFields
If oFF("Check1").CheckBox.Value = True Then
oFF("Text1").Result = "50%"
Else
oFF("Text1").Result = ""
End If
End Sub
|