monkeychuff
Board Regular
- Joined
- Oct 17, 2009
- Messages
- 67
Hi,
I have the following code, which works, but is very crude. Is there a better way to do this? Also, I would like to re-disable the command button if information is deleted from any of the target cells. Thanks in advance.
I have the following code, which works, but is very crude. Is there a better way to do this? Also, I would like to re-disable the command button if information is deleted from any of the target cells. Thanks in advance.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
'This will ensure that you cannot access start button until all fields have been completed
If [D13] > 1 Then
If [I9] > 1 Then
If [I11] > 1 Then
If [I13] > 1 Then
CommandButton1.Enabled = True
End If
End If
End If
End If
End Sub