meathead1234
Elite Member
- Sep 24, 2008
- 3,724
- 14,585
Hey guys,
Noob Excel question which I'm sure someone smart here can answer
Trying to run a Macro (which works) if a certain condition is met. In the "view code" -> "worksheet" view I have this:
In this case, I want to run macro MoveSheet2 if cell D9 is says yes.
What am I doing wrong?
Thanks!
Noob Excel question which I'm sure someone smart here can answer
Trying to run a Macro (which works) if a certain condition is met. In the "view code" -> "worksheet" view I have this:
Code:
Private Sub Worksheet_Change()
If D9.Value = "Yes" Then macroMoveSheet2
End Sub
In this case, I want to run macro MoveSheet2 if cell D9 is says yes.
What am I doing wrong?
Thanks!