mehmetcik
Many thanks for the advice,, it now works... I removed the other code and adjusted the code for the command button to include the two lines for the check boxes....
much simpler now...
Private Sub cmdenter_Click()
Dim iRow As Long
Dim ws As Worksheet
Dim a As Integer
Set ws = Worksheets("Database")
If cboxincident <> True Then
If cboxcapa <> True Then Exit Sub
End If
Sheet1.Range("da1").Value = Me.cboxincident.Value
Sheet1.Range("db1").Value = Me.cboxcapa.Value
Me.cboxincident.Value = ""
Me.cboxcapa.Value = ""
Unload Me
End Sub
Bookmarks