Te anexo el código para capturar la fecha de día y mes
Private Sub CommandButton1_Click()
'Por.Dante Amor
Dim fec1 As Date, fec2 As Date
If ListBox1.ListIndex = -1 Then
MsgBox "Selecciona un nombre"
Exit Sub
End If
If ComboBox2 = "" Then
MsgBox "Selecciona un tipo de descanso"
ComboBox2.SetFocus
Exit Sub
End If
'validar fechas
fec1 = TextBox2 & "/" & Label7.Caption
fec2 = TextBox3 & "/" & Label8.Caption
If Not IsDate(fec1) Then
MsgBox "Captura una fecha desde"
TextBox2.SetFocus
Exit Sub
End If
If Not IsDate(fec2) Then
MsgBox "Captura una fecha Hasta"
TextBox3.SetFocus
Exit Sub
End If
If fec2 < fec1 Then
MsgBox "La fecha Hasta tiene que ser mayor o igual a la fecha Desde"
TextBox3.SetFocus
Exit Sub
End If
'
nombre = ListBox1.List(ListBox1.ListIndex, 0)
hoja = ListBox1.List(ListBox1.ListIndex, 1)
Set h3 = Sheets(hoja)
u = h3.Range("A" & Rows.Count).End(xlUp).Row
For fecha = fec1 To fec2
Set b = h3.Columns("B:BL").Find(fecha, lookat:=xlWhole)
If Not b Is Nothing Then
'b.Select
col = b.Column
existe = False
For i = b.Row To u
If h3.Cells(i, "A") = nombre Then
h3.Cells(i, col) = ComboBox2.List(ComboBox2.ListIndex, 1)
existe = True
Exit For
End If
Next
If existe = False Then
MsgBox "nombre no existe"
Exit Sub
End If
Else
MsgBox "Fecha no encontrada"
Exit Sub
End If
Next
MsgBox "Periodo guardado"
End Sub
sal u dos