Public aa As Range
Private Sub Worksheet_Change(ByVal Target As Range)
If Not rangeIsBlank(aa) Then
If Target.Rows.Count = Rows.Count Then c_r = "Column"
If Target.Columns.Count = Columns.Count Then c_r = "Row"
If aa.Address <> Target.Address Then MsgBox (c_r & "(" & Target.Address & ") Inserted!")
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Set aa = Target
End Sub
Private Function rangeIsBlank(ByRef rng As Range) As Boolean
tmp = ""
On Error Resume Next
tmp = rng.Address
rangeIsBlank = IIf(tmp = "", True, False)
End Function