Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to show month format in 'February'?

Status
Not open for further replies.

sallyGals

Programmer
Feb 1, 2006
35
DE
I had create a msgbox which ask user to insert record for that month. But what i want is to show the month in "February", but it just can show 2.

MsgBox ("Please insert records for month " & Month(Now))
result: Please insert record for month 2

i want this to show out:
Please insert record for month February

how to make it?
thx for kindly help.
 
either:
MsgBox ("Please insert records for month " & Format(Now, "mmmm")
Or:
MsgBox ("Please insert records for month " & MonthName(Month(Now))

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
OOps, sorry for typos :~/
Either:
MsgBox "Please insert records for month " & Format(Now, "mmmm")
Or:
MsgBox "Please insert records for month " & MonthName(Month(Now))

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
yeah! PHV, i had done it. It can work already.
thank you so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top