Hi all I started using vba yesterday and im trying to edit this code.
I have 1000 cells with dropdown lists in them in colum I, this needs to be applied to all of them. (their all the same)
And If a different value is selected I need it to undo the last Marco.
Is this possible
I have 1000 cells with dropdown lists in them in colum I, this needs to be applied to all of them. (their all the same)
And If a different value is selected I need it to undo the last Marco.
Is this possible
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$I$9" Then
If Target = "Paul" Then
MacroA
ElseIf Target = "Rachel" Then
MacroB
ElseIf Target = "Julija" Then
MacroC
ElseIf Target = "Sue" Then
MacroD
End If
End If
End Sub