Hello, I am attempting to assign the value "Senior" to the number difference between two dates in vba, as seen in the code below
basically im looking to assign a word to a range between two dates
but this vba code is not working, no error shows but it wont populate the cell in question
All help is appreciated
Thanks
Isaac
basically im looking to assign a word to a range between two dates
but this vba code is not working, no error shows but it wont populate the cell in question
All help is appreciated
Thanks
Isaac
VBA Code:
Range("D2").Select
If (ActiveCell.Value > 1 / 1 / 1940) And (ActiveCell.Value < 1 / 1 / 2003) Then
Range("J2").Value = "Senior"
Else
Range("J2").Value = ""
End If