Rubber Beaked Woodpecker
Board Regular
- Joined
- Aug 30, 2015
- Messages
- 155
- Office Version
-
- 2016
Any reason I get the error End If without block if with the following code?
TIA
TIA
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False
Range("X1").Value = True
Call NextAvaliableCol
End If
End If
End Sub
Application.EnableEvents = True
End Sub