VBA Month 関数は、指定された日付の月に対応する整数を返します。
Month(日付)
Month 関数を使用して、日付から関連情報を取得します。
Sub MonthExample1()
myDate = #10/30/2020#
MsgBox Month(myDate) '戻り値: 10
End Sub
この関数はテキスト形式の日付も受け入れます。
Sub MonthExample2()
myDate = "2020/10/30"
MsgBox Month(myDate) '戻り値: 10
End Sub