sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,422
- Office Version
- 2016
- Platform
- Windows
I'm using this to populate a series of Comboboxes on a Userform from a dynamic named range;
It works fine until there is only 1 item left in the range and then I get an error,
Is there a way I can avoid this?
Code:
Me.Controls("ComboStaff" & i).List = ws.Range("NewAvailableStaff").Value
It works fine until there is only 1 item left in the range and then I get an error,
Could not set the List property. Invalid property array index.
Is there a way I can avoid this?