
Poner la fecha del ultimo día del trimestre en textbox
Publicado por Albert (2 intervenciones) el 24/01/2023 14:13:55
Necesito poner la fecha del primer día del trimestre actual en un textbox y el ultimo día del trimestre en otro textbox, se trata de buscar las facturas emitidas entre esas fechas
tengo este código pero no me funciona
With TextBox100
If Date >= "31" & "/" & "03" & "/" & Format(Date, "yyyy") And Date < "30" & "/" & "06" & "/" & Format(Date, "yyyy") Then
TextBox100 = "31" & "/" & "03" & "/" & Format(Date, "yyyy")
End If
End With
Gracias
tengo este código pero no me funciona
With TextBox100
If Date >= "31" & "/" & "03" & "/" & Format(Date, "yyyy") And Date < "30" & "/" & "06" & "/" & Format(Date, "yyyy") Then
TextBox100 = "31" & "/" & "03" & "/" & Format(Date, "yyyy")
End If
End With
Gracias
Valora esta pregunta


0