Nessa rotina não consta o código que salva o valor da caixa de texto para a planilha. Poderia postar aqui?
reception é a textbox onde coloco a data
Dim SaveRow As Long
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Plan1")
With ws
If excluedbox.Text <> "" Then
On Error GoTo ERRO
SaveRow = WorksheetFunction.Match(excluedbox.Text, .Columns("A"), 0)
On Error GoTo 0
End If
If SaveRow = 0 Then
SaveRow = .Cells(.Rows.Count, 1).End(xlUp).Row + 1
.Cells(SaveRow, 1).Value2 = nomereflex.Value
End If
.Cells(SaveRow, 2).Value2 = cepefi.Value
.Cells(SaveRow, 3).Value2 = relation.Value
.Cells(SaveRow, 4).Value2 = reception.Value
.Cells(SaveRow, 5).Value2 = departament.Value
End With
Exit Sub
ERRO:
If Err.Number = 1004 Then
SaveRow = 0
Resume Next
Else
MsgBox Err.Number & " " & Err.Description
End If
End Sub