Hi 1st reply,
I added the code to the active x combobox.
If you select a different sheet first and then go back to sheet 1 the list will be compiled as it uses the worksheet activate event to add the data.
2nd reply
you are using Userform events on a worksheet, that wont work.
I have added another file.
This has one active x combobox
I have created a dynamic named range called SheetNames, this will increase with size as you add more sheet names
I have set the ListFill range (in the properties of the combobox) to Sheetnames. This will solve the problem of the list not always being filled.
therefore you only need one event in the sheet module
this should be more like what you need
Bookmarks