devxlogo

An Efficient Method of Creating Lists For Month Names

An Efficient Method of Creating Lists For Month Names

The following code is an efficient, flexible, system-setting-independent procedure. MonthNames is either a listbox or a combobox. If StartMonth is greater than EndMonth, the list of month names will be generated in the reverse order.

 Sub LoadMonthNames(MonthNames As Object,  _Optional NameFormat As String =

devx-admin

Share the Post: