Ok thanks for that perhaps I should look at this another way, the code I want to run when the workbook is open is:-
cmdNamesCombo.Clear
This populates a dropdown list in a combo box with all the range names on the sheet.
Unfortunately when you exit the workbook & go back in the list is empty which is why I used the code within a control button to repopulate, but it would be nice to do this automatically or even stop the list from disappearing.
I tried it in an active x control button but it returns a run time error 424 of "object required" am I missing something simple.
Bookmarks