9.0

206
Parameter Description
dateexpr Return the month of the year for this date value. If this value is Null then Null is
returned.
See Also: Date( ), Day( ), MonthName( ), Weekday( ), Year( ).
Example
Sub Main
Debug
.Print Month(#1/1/1900#) ' 1
Debug
.Print Month(#2/1/1900#) ' 2
End
Sub
MonthName Function
Syntax
MonthName(NumZ{month}[, CondZ{abbrev}])
Group
Time/Date
Description
Return the localized name of the month.
Parameter Description
month Return the localized name of this month. (1-12)
abbrev If this conditional value is True then return the abbreviated form of the month name.
See Also: Month( ).
Example
Sub Main
Debug
.Print MonthName(1) 'January
Debug
.Print MonthName(Month(Now))
End
Sub
MsgBox Instruction/Function
Syntax
MsgBox Message$[, Type][, Title$]
-or-
MsgBox(Message$
[, Type][, Title$])
Group
User Input