ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Advanced filter in VBA - criteria in non-adjacent ranges (https://www.excelbanter.com/excel-programming/342429-advanced-filter-vba-criteria-non-adjacent-ranges.html)

count

Advanced filter in VBA - criteria in non-adjacent ranges
 
Hi,
Can this be done?
I need to be able to submit filter criteria from 2 simple ranges (say 3
by 3 each) but they sit in different locations (on the same sheet though). I
suppose, I could temporarily merge them in some hideaway prior to use but
I'm trying to avoid it.

TIA
Paul



Tom Ogilvy

Advanced filter in VBA - criteria in non-adjacent ranges
 
since part of the interpretation of the filter has to do with row and column
orientation, I think you would need to merge them.

--
Regards,
Tom Ogilvy

"count" wrote in message
...
Hi,
Can this be done?
I need to be able to submit filter criteria from 2 simple ranges (say 3
by 3 each) but they sit in different locations (on the same sheet though).

I
suppose, I could temporarily merge them in some hideaway prior to use but
I'm trying to avoid it.

TIA
Paul






All times are GMT +1. The time now is 03:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com