backfromthebush
New Member
- Joined
- Jul 2, 2010
- Messages
- 37
Hi,
I've written some code that when a value changes in column B, it will call another procedure. What is bugging me is that it worked to start with, and now it doesnt!!! Can anyone help?!! The called procedures work, but i cant get the "Worksheet_Change" procedure to work now!! AHH!
I've written some code that when a value changes in column B, it will call another procedure. What is bugging me is that it worked to start with, and now it doesnt!!! Can anyone help?!! The called procedures work, but i cant get the "Worksheet_Change" procedure to work now!! AHH!
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:B")) Is Nothing Then
'...change made in column B
Call DefaultPlayerNull
Else: Exit Sub
End If
End Sub
Sub DefaultPlayerNull()
If ActiveCell.Value = "**Available**" Then
ActiveCell.Offset(0, 1).Value = Null
Else: Call PlayersSelectedPos
End If
End Sub