B
bower
Hi,
I have a subroutine XXXX that I would like to call in the following:
If Not Application.Intersect(Range("C9"), Target) Is Nothing Then
MsgBox "Your code here"
End If
What should I put instead of "Your code here"????
Shouldn't I be able to just put the name of the subroutine (XXXX)? XXX
works fine when it is linked to a button, and the above code seems t
work fine since I ge ta Message Box upon executins that just says "You
code here"
But I can't seem to include the XXXX subroutine.
Pete
I have a subroutine XXXX that I would like to call in the following:
If Not Application.Intersect(Range("C9"), Target) Is Nothing Then
MsgBox "Your code here"
End If
What should I put instead of "Your code here"????
Shouldn't I be able to just put the name of the subroutine (XXXX)? XXX
works fine when it is linked to a button, and the above code seems t
work fine since I ge ta Message Box upon executins that just says "You
code here"
But I can't seem to include the XXXX subroutine.
Pete