ofertasmarto

ofertasmarto

 España @ofertasmarto desde - visto
Preguntar

Actividad pública reciente

Ha valorado "Excelente" la respuesta

Macro que se ejecuta siempre se cumpla o no la con

respondió: Prueba esto: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column <> 1 Then Exit Sub If Target.Row >= 10 And Target.Row <= 100 Then Sheets("hoja2").Select If CDate(Target.Value) > CDate(Hoja2.Range("B5").Value) Then Tu macro End If...
Ha valorado "Excelente" la respuesta

Ejecutar macro si se cumple una condición

respondió: Introduce este código en la hoja que introduces las fechas Private Sub Worksheet_Change(ByVal Target As Range) datos = "A10:A100" Sheets("hoja2").Select If Target.Value > Cells(5, 2).Value Then Tumacro End If End Sub Solo cambia la linea Tumacro Por...