Can anyone point me in the right direction to write a macro that filters my table by the values currently selected?
Currently, to filter my data I have to click the filter arrow on ColumnA, un-select the "select all" box, then scroll through the list to select the value I want to use in the filter. I then move on to do the same for ColumnB, ColumnC and ColumnD. Doing this all day gets tedious, so I want to be able to just use the mouse to highlight a selection in a single row and use the selection as the inputs for the filter.
i.e. highlight W,X,Y,Z in a single row, press a macro button and the VBA code filters my data for W in ColumnA, X in ColumnB, Y in ColumnC and Z in ColumnD.
Thanks.
Currently, to filter my data I have to click the filter arrow on ColumnA, un-select the "select all" box, then scroll through the list to select the value I want to use in the filter. I then move on to do the same for ColumnB, ColumnC and ColumnD. Doing this all day gets tedious, so I want to be able to just use the mouse to highlight a selection in a single row and use the selection as the inputs for the filter.
i.e. highlight W,X,Y,Z in a single row, press a macro button and the VBA code filters my data for W in ColumnA, X in ColumnB, Y in ColumnC and Z in ColumnD.
Thanks.