Agregar formato de cela y colorear
Pregunta para dante tengo este código que me hiciste anda bárbaro quisiera agregarle lo siguiente
Selection.NumberFormat = "$* #,##0;[Red]$ * -#,##0" (darle este formato a las celdas donde se pegan los importes o sea las celdas de la columna H,I,J, y K
Interior.Color = 49407 (a la celda de la columna K)
------------------------------------------------------------------------------------------------------------------------
Private Sub Worksheet_Change(ByVal Target As Range)
'Por.Dante Amor
If Not Intersect(Target, Range("B:E")) Is Nothing Then
If Target.Count > 1 Then Exit Sub
If Target.Row < 4 Then Exit Sub
If Cells(Target.Row, "A") = "" Then
MsgBox "No hay fecha"
Exit Sub
End If
f = Month(Cells(Target.Row, "A")) + 3
Cells(f, "G") = Format(Cells(Target.Row, "A"), "mmm") & "-" & Year(Date)
c = Target.Column + 6
Cells(f, c) = Cells(f, c) + Target.Value
Cells(f, "K") = Cells(f, "K") + Target.Value
End If
End Sub