turning string month into number

  • Thread starter Thread starter Santiago Gomez
  • Start date Start date
S

Santiago Gomez

Hello,
I have a combo box with the months January, February, etc.
Is there an easy way of converting that value into month numbers so I can
use it with a For Loop?
thanks
 
Another way would be to have a second column that is zero
inches long and in it is the corresponding month number,
ie:

January 1
February 2
March 3
etc.

Then, use the data in the second column in your loops.
 
that worked perfectly. I had created a Select statement 20 lines to do what
you did in 1 line.
thanks.

the hidden column would have worked, but I was using that value in other
places and did not want to change it everywhere.
 
You're welcome.

Santiago Gomez said:
that worked perfectly. I had created a Select statement 20 lines to do what
you did in 1 line.
thanks.

the hidden column would have worked, but I was using that value in other
places and did not want to change it everywhere.
 
Back
Top