Teri,
Create a simple dialog sheet and place onto it, two or more checkboxes. Use
the follow macro snippet connected to a button.
Sub ClearDLGChecks1()
For Each obj In DialogSheets("Dialog1").CheckBoxes
obj.Value = xlOff ' Use xlon to turn them on
Next
DialogSheets("Dialog1").Show
End Sub
The FOR EACH uses a handle to an object (I chose Obj, its up to you). The
object we want is CheckBoxes. In this case, objects from the dialog called
Dailog1. As the syntax implies, FOR EACH CHECKBOX ...
I agree, to change one object the For Each is overkill. If you have any
more questions, let me know.
-James