alainfranco
New Member
- Joined
- Mar 7, 2012
- Messages
- 38
Hello,
Trying to replace a cell that could be emptied by a user by a formula.
Is am using this:
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("O24").Value = "" Then
Range("O24").Formula = "=IF(G3<>"Completed", "Project not Completed", "Enter Forecasted Budget at Completion")"
End If
End Sub
As you can imagine, its causing an error on the Range("O24").Formula = ....
Any idea how I can get this to work?
Thanks,
Trying to replace a cell that could be emptied by a user by a formula.
Is am using this:
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("O24").Value = "" Then
Range("O24").Formula = "=IF(G3<>"Completed", "Project not Completed", "Enter Forecasted Budget at Completion")"
End If
End Sub
As you can imagine, its causing an error on the Range("O24").Formula = ....
Any idea how I can get this to work?
Thanks,
Last edited: