Una familia de software de hoja de cálculo de Microsoft con herramientas para analizar, trazar y comunicar datos.
Hector, El codigo que tengo es:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim horaT$, hora As Date, coma&
If Target.Column = 6 Then
horaT = Target.Value & "0"
coma = InStr(1, horaT, ",")
hora = (Val(Left(horaT, coma - 1)) / 24) + (Val((Mid(horaT, coma + 1, 2))) / 1440)
Application.EnableEvents = False
Target.Value = hora
Application.EnableEvents = True
End If
If Target.Column = 2 And Target.Row > 7 And Target.Row <= 300 Then
Target.Offset(, -1).Value = Now
End If
' If Not Intersect(Target, Me.Range("A1:AA500")) Is Nothing Then
' ThisWorkbook.Save
' End If
End Sub
Necesito afectar para este proposito el rango B10:B50
Gracias