R
Roger Marrs
I've written the following code. It gets the job done, but I'm wondering if
there isn't a cleaner way to write it.
If TypeOfCounselAppointed.Value = True Then
..FormFields("CounselTypeAppointed").CheckBox.Value = True
End If
If TypeOfCounselRetained.Value = True Then
..FormFields("CounselTypeRetained").CheckBox.Value = True
End If
If TypeOfCounselSelf.Value = True Then
..FormFields("CounselTypeSelf").CheckBox.Value = True
End If
If TypeOfCounselOther.Value = True Then
..FormFields("CounselTypeOther").CheckBox.Value = True
End If
Thanks, Roger
there isn't a cleaner way to write it.
If TypeOfCounselAppointed.Value = True Then
..FormFields("CounselTypeAppointed").CheckBox.Value = True
End If
If TypeOfCounselRetained.Value = True Then
..FormFields("CounselTypeRetained").CheckBox.Value = True
End If
If TypeOfCounselSelf.Value = True Then
..FormFields("CounselTypeSelf").CheckBox.Value = True
End If
If TypeOfCounselOther.Value = True Then
..FormFields("CounselTypeOther").CheckBox.Value = True
End If
Thanks, Roger