Im going nuts trying to learn this VBA
I have put a button on the tool bar with the following code
Sub CommandButton_Click
If B10 = A3 then
D1 = 2 else
D1 = 5
End If End Sub
Half hour later I still Can't get it to work.
What am I not doing?
Any help greatly appreciated
I have put a button on the tool bar with the following code
Sub CommandButton_Click
If B10 = A3 then
D1 = 2 else
D1 = 5
End If End Sub
Half hour later I still Can't get it to work.
What am I not doing?
Any help greatly appreciated