Excel VBA の Year 関数は、指定した日付の年を示す整数値 Variant (Integer) を返します。返される年は西暦の年です。使用例のサンプルコードを使って Year 関数の動作を確認しています。…