Sammy
New Member
Hello Champs,
I have 3 list boxes (to select Country, State, District) linked to each other. Under “country list box”, I have a list of country names and when one gets selected it shows corresponding states under “state list box”. State list box also has a list of states which upon selecting one will display the district names under “district list box”. So basically I first select country, then state then the district.
What I would like to do now is have some restrictions based on the country/state/district the user id belongs to. For e.g. a person based in India shouldn’t be able to view anything under Sri Lanka/Nepal basis the user id the user provides while opening the file or better see only India in the "country list box". So now once the user selects India, they should again be able to see only the states they are supposed to view in the “states list box” and so on with the “district list box” too. Admin will have unrestricted access.
I’ve been trying to crack this for the past few day but unsuccessful so far. Any help with formula’s or vba would be much appreciated.
Thanks,
Sammy
I have 3 list boxes (to select Country, State, District) linked to each other. Under “country list box”, I have a list of country names and when one gets selected it shows corresponding states under “state list box”. State list box also has a list of states which upon selecting one will display the district names under “district list box”. So basically I first select country, then state then the district.
What I would like to do now is have some restrictions based on the country/state/district the user id belongs to. For e.g. a person based in India shouldn’t be able to view anything under Sri Lanka/Nepal basis the user id the user provides while opening the file or better see only India in the "country list box". So now once the user selects India, they should again be able to see only the states they are supposed to view in the “states list box” and so on with the “district list box” too. Admin will have unrestricted access.
I’ve been trying to crack this for the past few day but unsuccessful so far. Any help with formula’s or vba would be much appreciated.
Thanks,
Sammy