Hi,
I had a listbox (ListBox1) with all 52 weeks of the year in and @Fluff very kindly supplied me with this code that worked perfectly for me:
But because the listbox was so long I have decided to use 2 listboxes (ListBox1, ListBox2) with 26 weeks in each.
So how can I alter the code so it can search through both lostboxes?
Any help would be appreciated.
Thanks
Dan
I had a listbox (ListBox1) with all 52 weeks of the year in and @Fluff very kindly supplied me with this code that worked perfectly for me:
Code:
Me.ListBox1.Selected(Application.WeekNum(Date) - 1) = True
But because the listbox was so long I have decided to use 2 listboxes (ListBox1, ListBox2) with 26 weeks in each.
So how can I alter the code so it can search through both lostboxes?
Any help would be appreciated.
Thanks
Dan