Alerta de Eventos por Fechas por Vencimientos
A los miembros de este Foro, quisiera pedir su ayuda con esta macro la cual permite buscar mediante la fecha las ocurrencias o eventos por vencer, vencidos e inclusive hoy mismo allá un evento la cual trabaja con la fecha del sistema (computadora), pero lo que ocurre es que esta macro hace la secuencia continuas es decir fila por fila (busca la fecha) y lo que quisiera es si se podría modificar para que busque las fechas pero en forma salteada es decir en la fila A2, A30 y A100, etc.
Adjunto macro:
Sub Auto_Open()
fila = 2
Do While Not IsEmpty(Cells(fila, "A"))
If Cells(fila, "A") = Date Then
x = MsgBox(Cells(fila, "B"), vbExclamation, "Hoy:")
End If
fila = fila + 1
Loop
fila = 2
Do While Not IsEmpty(Cells(fila, "A"))
If Cells(fila, "A") < Date Then
x = MsgBox(Cells(fila, "C"), vbCritical, "Vencidos:")
End If
fila = fila + 1
Loop
fila = 2
Do While Not IsEmpty(Cells(fila, "A"))
If Cells(fila, "A") > Date Then
x = MsgBox(Cells(fila, "C"), vbInformation, "A Vencer:")
End If
fila = fila + 1
Loop
End Sub
Sub VerHoy()
fila = 2
Do While Not IsEmpty(Cells(fila, "A"))
If Cells(fila, "A") = Date Then
x = MsgBox(Cells(fila, "C"), vbExclamation, "Hoy:")
End If
fila = fila + 1
Loop
End Sub
Sub VerVencidos()
fila = 2
Do While Not IsEmpty(Cells(fila, "A"))
If Cells(fila, "A") < Date Then
x = MsgBox(Cells(fila, "C"), vbCritical, "Vencidos:")
End If
fila = fila + 1
Loop
End Sub
Sub VerVencer()
fila = 2
Do While Not IsEmpty(Cells(fila, "A"))
If Cells(fila, "A") > Date Then
x = MsgBox(Cells(fila, "C"), vbInformation, "A Vencer:")
End If
fila = fila + 1
Loop
End Sub
Desde ya quedo con uds. Agradecido por su colaboración y paciencia.