
Private Sub Enter_Click()
Dim lRiga As Long
With sh1
lRiga = .Range("A" & .Rows.Count).End(xlUp).Row + 1
.Range("A" & lRiga).Value = Me.TBCF.Text
.Range("B" & lRiga).Value = Me.TBNome.Text
.Range("C" & lRiga).Value = Me.TBCognome.Text
End With
Unload Me
Start.CMBCF.RowSource = "CF" <----- Riga aggiunta da me
End Sub |
