Hello world !
I have a problem here, this is the code:
The problem is that it doesn't works when the cell C5 changes of value, but if I put "play" (deleting the Private Sub Code) Sub AjusteCeldas() works perfectly (but I have to put "play" each time that C5 changes of value..). The C5 cell is a list of names.
Regards !
I have a problem here, this is the code:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells = Range("Personal!C5") Then
Call AjusteCeldas
End If
End Sub
Sub AjusteCeldas()
' The macro code
End Sub
The problem is that it doesn't works when the cell C5 changes of value, but if I put "play" (deleting the Private Sub Code) Sub AjusteCeldas() works perfectly (but I have to put "play" each time that C5 changes of value..). The C5 cell is a list of names.
Regards !