One more quesiton on this... where would this go in the syntax? Right now I have the following:
'copy the data to the database
ws.Cells(iRow, 1).Value = Me.txtFirst.Value
ws.Cells(iRow, 2).Value = Me.txtLast.Value
ws.Cells(iRow, 3).Value = Me.txtTitle.Value
If Me.cb_FPS3 = True Then
ws.Cells(iRow, 11).Value = "FPS3"
Else: ws.Cells(iRow, 11).Value = ""
End If
If Me.cb_FPS3 = True Then
ws.Cells(iRow, 12).Value = "PAFC"
Else: ws.Cells(iRow, 11).Value = ""
End If
If Me.cb_FPS3 = True Then
ws.Cells(iRow, 13).Value = "NMS"
Else: ws.Cells(iRow, 11).Value = ""
End If
'clear the data
Me.txtFirst.Value = ""
Me.txtLast.Value = ""
Me.txtTitle.Value = ""