Thread
:
Year date format
View Single Post
#
1
Posted to microsoft.public.excel.programming
mathel
external usenet poster
Posts: 64
Year date format
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:
--
Linda
Reply With Quote
mathel
View Public Profile
Find all posts by mathel