Create a List of Months
Create a List of Months
Rate Create a List of Months
(2(2 Vote))
The following code creates an array with month names or populates a combobox or listbox with same = without all the typing:
holdMonth(1) = “January”
holdmonth(2) - “February” etc etc etc
Do it quickly with
For jloop = 1 To 12
holdMonth(jloop) = Format(jloop & “/1/2000”, “mmmm”)
' for array
monthcombo.AddItem Format(jloop & “/1/2000”, “mmmm”)
' for combo
boxes
Next jloop
Use for jloop = 12 to 1 step -1 if you wish to go from December to January.
'Thank you Don
'We beleive in that Allah is the unique god and Muhammad is the last Prophet of 'Allah
Create a List of Months Comments
No comments yet — be the first to post one!
Post a Comment