Private Sub CommandButton1_Click()
With XXXX
For i = 2 To .Cells(2, Columns.Count).End(xlToLeft).Column
If CStr(.Cells(2, i)) = ComboBox1.Value Then
.Cells(2, i).Select
Exit For
End If
Next i
If ActiveCell = ComboBox1.Value Then
ActiveCell.Offset(1, 0).Value = Format(TextBox1, "MM/DD/YYYY")
End If
End With
RAZ
End Sub