Hi all, I have a problem using Worksheet_Change. The code is the following:
The problem arises when I put a value in one of the target cells (a1:a5) and I try to extend the same value with the common "streching" trick with the mouse. It gives me code error no. 13: type mismatch. Can someone explain it?![]()
Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("A1:A5")) Is Nothing Then MsgBox (Target.Value) Select Case Target Case 1 '{action 1} Case 2 '{action 3} End Select End If End Sub
Thank you very much
Bookmarks