Hi all. I have a sheet that uses two drop down lists. I'm using a named range to populate each of the lists. However, we have been using this program for a while and lists are starting to get too long. So, I want to allow the user to filter the lists down, so I have added a few drop downs that the user can choose from that will narrow down the choices in hte original drop downs. An example of one of these new drop downs is "Amount of time with company," with the choices being "0-6 months," "6-12 months," etc. If the user selected "0-6 months" I would want the original drop downs to display only people who have been with the company for 0-6 months.
So, I've decided to put a button on the sheet that will run a sub that will populate the named range only with values that fit the criteria. But, I have no idea how to build a named range using vba. Can anyone provide me with an example or a website that goes into detail on how to construct a named range using vba?
I tried a couple google searches but didn't find anything all that useful. Any help at all that you can give me is greatly appreciated. Thanks!
Hank
So, I've decided to put a button on the sheet that will run a sub that will populate the named range only with values that fit the criteria. But, I have no idea how to build a named range using vba. Can anyone provide me with an example or a website that goes into detail on how to construct a named range using vba?
I tried a couple google searches but didn't find anything all that useful. Any help at all that you can give me is greatly appreciated. Thanks!
Hank