chuckles1066
Banned
- Joined
- Dec 20, 2004
- Messages
- 372
I'll try and explain.
I have a userform where there are eight possible options - only one of the options can be selected at any time (the rest are flagged as disabled when one becomes enabled).
I then grab which box has been ticked, feed that into a variable and then run a For/Next loop to cycle through another sheet and extract the relevant data.
Easy.
Now I've been asked if it's possible for more than one checkbox to be selected.....that bit is easy but how do I store multiple values? In an array of some sort?
As an example, let's assume the user has selected London, New York and Paris. I need to be able to run my For / Next loop for London, then for New York and then for Paris.
All help appreciated.
(Why do people always want to mess with something that works perfectly? Grrrrr.....)
I have a userform where there are eight possible options - only one of the options can be selected at any time (the rest are flagged as disabled when one becomes enabled).
I then grab which box has been ticked, feed that into a variable and then run a For/Next loop to cycle through another sheet and extract the relevant data.
Easy.
Now I've been asked if it's possible for more than one checkbox to be selected.....that bit is easy but how do I store multiple values? In an array of some sort?
As an example, let's assume the user has selected London, New York and Paris. I need to be able to run my For / Next loop for London, then for New York and then for Paris.
All help appreciated.
(Why do people always want to mess with something that works perfectly? Grrrrr.....)