General information
Category:
Coding, syntax & commands
Try this following function to get 3 char format type of month:
Function Get3CharMonth(ByVal pMonth As Integer)
Dim mStringMonth As String
Dim mMonth As String
mStringMonth = "JanFebMarAprMeiJunJulAgsSepOktNovDes"
mMonth = Mid(mStringMonth, pMonth * 3 - 2, 3)
Get3CharMonth = mMonth
End Function
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only