I want to get the year, so I tried this:
Dim vYear As Variant
vYear = Year(Date)
When I run this I get run time error 13, type mismatch.
To sort this out, I tried running this sample code, straight out of the help.
Dim MyDate, MyYear
MyDate = #February 12, 1969# ' Assign a date...