Listbox and Combobox Problem

Gloopy

New Member
Joined
May 23, 2015
Messages
2
Hi,
I am having some issues with getting some code working in Excel. I am trying create a sheet which tracks staff holidays and which allows entries to be recalled readily and edited/deleted.

I have created a userform which contains a couple of buttons, a listbox and combobox. I want the list box to be populated by the data on the sheet (which will grow with time) and to be filterable using the combobox. The combobox will be populated by the entries in column A of the sheet. The idea is that a manager can load up (filter) the entries for a staff member (within the userform) and then edit/delete as required.

I did have this working for a short period but now am completely stuck. I will try to attach the sheet and code that I have so far. I am not a VBA expert and, for the most part, my code is adapted from that which I find on the internet. This has always worked well but this time I find my self going round in circles and have been for about a week.

Any help or comments that you can provide to get me back on track would be much appreciated.

Steve
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top