Returns a string indicating the specified month.
- Required. The numeric designation of the month. For example, January is 1, February is 2, and so on.
- Optional. Boolean value that indicates if the month name is to be abbreviated. If omitted, the default is False, which means that the month name is not abbreviated.
The following example uses the MonthName function to return an abbreviated month name for a date expression:
) ' MyVar contains "Oct".