craigexcel
Active Member
- Joined
- Jun 28, 2006
- Messages
- 286
- Office Version
-
- 2016
- Platform
-
- Windows
I'm creating a UserForm that will display as soon as the workbook has been opened. The UserForm has a listbox which needs to be populated with the same set of items (e.g. A, B, C, D) each time the workbook is opened, from which the user will select ONLY a single item from the list. Is it possible for the VB code to populate the listbox with this same set of items each time, as opposed to referencing a worksheet range (so I can avoid having 'distracting' data appear in the worksheet)?
Or is it just simply easier, come to think of it, to have a hidden worksheet on which I can enter the listbox items, and have the listbox refer to this range on the hidden worksheet?
Or is it just simply easier, come to think of it, to have a hidden worksheet on which I can enter the listbox items, and have the listbox refer to this range on the hidden worksheet?