G
Guest
I need to extract the year only in a cell from the date in another cell.
What I have tried is:
Range("J4").Select
ActiveCell.FormulaR1C1 = "=text(B4, "yyyy")"
Range("B3").Select
I get an error which reads: Compile error:
What I have tried is:
Range("J4").Select
ActiveCell.FormulaR1C1 = "=text(B4, "yyyy")"
Range("B3").Select
I get an error which reads: Compile error: