RAJAQ
12/13/2016 - 3:57 PM

Check if a range is selected

Sub CheckType()

    If TypeName(Selection) <> "Range" Then
        MsgBox ("select a range")
        Exit Sub
    End If
                    
                   
End Sub