H o l a:
Te anexo las macros con un pequeño ajuste
Private Sub Worksheet_Change(ByVal Target As Range)
'Por.Dante Amor
If Not Intersect(Target, Range("F1, H1")) Is Nothing Then
Application.ScreenUpdating = False
If Target = "" Then Exit Sub
fec = Left(Target, 2) & "/" & Mid(Target, 3, 2) & "/" & Mid(Target, 5)
Application.EnableEvents = False
Target = fec
Target.NumberFormat = "dd/mm/yyyy"
Target.Select
SendKeys "{F2}", True
SendKeys "{Enter}", True
Application.EnableEvents = True
End If
End Sub
'
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'Por.Dante Amor
If Not Intersect(Target, Range("F1, H1")) Is Nothing Then
Application.ScreenUpdating = False
actual = Target.Value
Target.NumberFormat = "@"
If Target = "" Then Exit Sub
Application.EnableEvents = False
If IsDate(actual) Then
fec = Format(actual, "ddmmyyyy")
Target = fec
End If
Application.EnableEvents = True
Application.ScreenUpdating = True
End If
End Sub
' : )
'S aludos. Dante Amor. Recuerda valorar la respuesta. G racias
' : )