Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Check Boxes in a Form

0 views
Skip to first unread message

Greg Maxey

unread,
Aug 27, 2004, 5:49:30 AM8/27/04
to
Martman,

Something like:

Sub SetCheckBoxes()

With ActiveDocument
If .FormFields("CheckDept1").CheckBox.Value = True Then
.FormFields("CheckDept2").CheckBox.Value = True
.FormFields("CheckDept3").CheckBox.Value = True
Else
.FormFields("CheckDept2").CheckBox.Value = False
.FormFields("CheckDept3").CheckBox.Value = False
End If
End With

End Sub


--
Greg Maxey
A peer in "peer to peer" support
Rockledge, FL
To e-mail, edit out the "w...spam" in gma...@whamspammvps.org

Martman wrote:
> I have a form w/3 pages, when I chk the "Dept" box on page 1, I want
> it to check the "Dept" boxes on pages 2 and 3. I'm aware that it
> will take a macro associated w/the chkbx on page 1. I can't figure
> out how to format the macro?


0 new messages