Hello,
I have a set of data that changes every time with column filters at the top of the data. With VBA code, I am looking for a way to make every filter option visible in one column EXCEPT the #N/A, and in the 2nd column, have the only thing visible be the #N/A. So if you look in the attached image, the prod section would have all filters enabled EXCEPT #N/A and the dev section would have all filters disabled EXCEPT the #N/A.
The tricky part is that this data can change from time to time, so hard coding the filter names needs to be avoided. Is there a select all and/or deselect all function in VBA that could handle this?
NOTE: The columns are populated via VLOOKUPs.
I am basically looking for a way to handle the column filters dynamically to enable all except #N/A for one column, and for the other, disable all except the #N/A.
Please let me know what approach should be taken here! Thank you for your time in advance.
I have a set of data that changes every time with column filters at the top of the data. With VBA code, I am looking for a way to make every filter option visible in one column EXCEPT the #N/A, and in the 2nd column, have the only thing visible be the #N/A. So if you look in the attached image, the prod section would have all filters enabled EXCEPT #N/A and the dev section would have all filters disabled EXCEPT the #N/A.
The tricky part is that this data can change from time to time, so hard coding the filter names needs to be avoided. Is there a select all and/or deselect all function in VBA that could handle this?
NOTE: The columns are populated via VLOOKUPs.
I am basically looking for a way to handle the column filters dynamically to enable all except #N/A for one column, and for the other, disable all except the #N/A.
Please let me know what approach should be taken here! Thank you for your time in advance.