vba - Apply (complex, preset) filter of one excel sheet to another -
i have question:
i need filter excel sheet based on (preset) filter excel sheet.
e.g. thought, might possible read out shown line numbers or data names in column a. , take these results make other sheet filter same rows.
background:
i need work on "public" excel sheet, several people use different tasks.
the sheet contains >8000 rows of data of need edit hundred.
we made copy of sheet , applied several complex sets of filters on different columns (to different sets of data concerning us). don't want put these different filters new time. therefore added column in copy sheet, contains numbers each set of data (e.g. rows of filter-set 1 contain "1" in column, etc.). easy access our data.
however, need work in public sheet, here can't add column our filters (for different reasons).
therefore question above: can filter excel table based on (preset) filter excel table.
what tried:
- search internet --> no hits special case
- search how obtain results of applied filter. i.e. information of excel, rows should show now, apply on other sheet --> no hits :(
- go through each line of public sheet , if line in copied sheet our "filter set" column doesn't show "1", hide row in public sheet. --> takes ages if disable sheet screen updating. plus, need apply additional filtering on public sheet. extra: tried other way round: hide rows , show hundred need. here failed telling excel unhide rows(58,89,90,101,411,489, ...). though think must simple. can't syntax right :(
on appreciated well, stumble across problem more often.
thank , time in advance.
all best
yanine.
based on understand want filter data based on value have in column right? if filter value constant can use in code filter column or if not can loop through filter value , use in code filter data. please share 1 example can beter understand problem.
Comments
Post a Comment