Get months and year from a combobox and put in a list
Posted on 2013-10-23
I have a 2 comboboxes that contain a month, year. I need to get a range of the months/years between the 2 combobox's.
So I would like a set a variable in a list that contains these dates in a date format.
Dim mydates As ArrayList
mydates.Add("May" & "2013")
mydates.Add("June" & "2013")
mydates.Add("July" & "2013")
mydates.Add("August" & "2013")
I just need these in a date format so I can use them late in a date function. I'm not sure how to calculate the range to put into the list.