Code: Select all
Set rng1 = ActiveSheet.Range("colDates")
iRows = rng1.Rows.Count
Set rng2 = rng1.Offset(1, 0).Resize(iRows - 2, 2)
AllDates = rng2.Value
Me.cmbDates.List = AllDates
The code as written, of course, enters the second column in normal date format ("m/d/yyyy"). I’m wondering if there is a way I can format column 2 of the combobox to display the billing period as text.
In fact, I'd be happy to use a 1-column combo if I could format all the dates as "mmm yyyy".