
Originally Posted by
BigBas
To the best of my knowledge, your second request would not work. You can't filter individual ranges separately. So for example, if you are filtering by COMPLETE tasks, and New York has row 4 INCOMPLETE (which will hide it), but Buffalo shows Row 4 as Complete, there will be conflict. It gets tricky when trying to apply separate filters to separate ranges.
Also, if you are interested, I think you can tidy up your code by quite a bit if you use a listbox vs. multiple checkboxes. I've attached an example of what I mean. Click on Button 6 to show the form, and take a look at the code. The benefits, (1) much easier to follow/read code, (2) scalability; you can add additional cities, and as long as they follow the logic being used (3 columns per city), they will autopopulate into the form and follow the rules of the code, with needing to add a new checkbox and code for it.
I'll definitely take a look at this when i get home.
Another though - The first cell for each city is going to be an "Applicable to site?" Y/N answer. Just like with the last cell (In Process, Complete and Planned). Would there be an easy way to add in some code to do the following?
1. Search for a category
2. Select a Y or N checkbox to see the cities that are applicable to that category. All it would be doing is sorting the category (which i have the code for below, and hiding the cities that have a N in the first box. (The form auto fills Y or N in when i input a category)
Code for Category sorting:
Bookmarks