Skip to main content

MonthName function

Table of contents
  1. Syntax

Returns a string indicating the specified month.

Syntax

MonthName(month, [ abbreviate ])

The MonthName function syntax has these parts:

Part Description
month Required. The numeric designation of the month. For example, January is 1, February is 2, and so on.
abbreviate 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.

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>