View Single Post
 
Old 02-19-2017, 12:28 PM
jeffreybrown jeffreybrown is offline Windows Vista Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Give this a try...

Code:
Sub Button1_Click()
    If activecell.Row > 7 Then
        Call OtherMacro
    ElseIf activecell.Row < 8 Then
        MsgBox "Marcro cannot be run on a row between 1 and 7"
        Exit Sub
    End If
End Sub
Reply With Quote