Hi Wries,
Assuming BoxA, BoxB & BoxC are the control names and not their captions, try:
If Me.Controls("Box" & Element).Value = True
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|