In the snippet of code below, what would I have to do to change the way I reference the active cell?
How can I change the red to this?
Code:
Private Sub Worksheet_Change(ByVal Target As Range) '_Change creates the variable as a target, transferred as a value to "ProjectName"
Dim ans As Integer
[B][COLOR=#ff0000] If Target.Column = 2 And Target.Row > 1 And Target.Value = "" Then [/COLOR][/B]
Code:
[COLOR=#008000] If Worksheets("Projects").Range("Records[OPPORTUNITY]") And Worksheets("Projects").Target.Row > 1 And Target.Value = "" Then[/COLOR]