How To Get The Current Year Using Vba How To Get The Current Year Using Vba vba vba

How To Get The Current Year Using Vba


Year(Date)

Year(): Returns the year portion of the date argument.
Date: Current date only.

Explanation of both of these functions from here.


Try =Year(Now()) and format the cell as General.