J
Jeff Wright
Greetings!
In the macro below, I'm attempting to change the value of cell F12 to an
even number. However, when I run this macro, it simply inserts
"=EVEN(RC[-1])" into cell F12.
Before the macro is run, cell F12 may be even or odd. Can someone help me
with a line of code which will change the value of cell F12 to an even
number?
Thanks!
Jeff
Private Sub OptionButton2_Click()
Range("F12").Select
ActiveCell.FormulaR1C1 = "=EVEN(RC[-1])"
End Sub
In the macro below, I'm attempting to change the value of cell F12 to an
even number. However, when I run this macro, it simply inserts
"=EVEN(RC[-1])" into cell F12.
Before the macro is run, cell F12 may be even or odd. Can someone help me
with a line of code which will change the value of cell F12 to an even
number?
Thanks!
Jeff
Private Sub OptionButton2_Click()
Range("F12").Select
ActiveCell.FormulaR1C1 = "=EVEN(RC[-1])"
End Sub