convert 1-12 into January, Feb...etc

  • Thread starter Thread starter Guest
  • Start date Start date
The code below uses the DateSerial function to get the
relevant Month.

Dim Mth As String
Dim inMonth As Integer

intmonth = 1

Mth = Format(DateSerial(0, intmonth, 1), "mmmm")


Hope this helps,
Steve.
 
Thanks Steve.
-----Original Message-----
The code below uses the DateSerial function to get the
relevant Month.

Dim Mth As String
Dim inMonth As Integer

intmonth = 1

Mth = Format(DateSerial(0, intmonth, 1), "mmmm")


Hope this helps,
Steve.


.
 
Back
Top