dennis22
Programmer
- Oct 8, 2002
- 32
Hi!
I am a newbie in VB, I have this combo box populated with month, (January, February, ...). I would like to know if there is an easy way to convert the month into its numeric equivalent. A function maybe? A reverse of the MonthName
Example: x = VBFunction(combo1.text) '"January"
Return : 01
Thanks!
I am a newbie in VB, I have this combo box populated with month, (January, February, ...). I would like to know if there is an easy way to convert the month into its numeric equivalent. A function maybe? A reverse of the MonthName
Example: x = VBFunction(combo1.text) '"January"
Return : 01
Thanks!