Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I would like to be able to select a set of Excel cells, name them, then write VBA code to filter the range based on certain criteria - essentially treat the range as a database table and run an SQL on it returning a set of rows that match the criteria (the SQL WHERE clause). Is it possible to do such a thing and if so how should I go about coding it? DAO? I think I can simply loop through the range and filter rows through an IF() statement, but I am thinking there is a better way ... Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Example code he
http://groups.google.com/group/micro...33c689287d2506 Tim "Arshavir Grigorian" wrote in message ... Hi, I would like to be able to select a set of Excel cells, name them, then write VBA code to filter the range based on certain criteria - essentially treat the range as a database table and run an SQL on it returning a set of rows that match the criteria (the SQL WHERE clause). Is it possible to do such a thing and if so how should I go about coding it? DAO? I think I can simply loop through the range and filter rows through an IF() statement, but I am thinking there is a better way ... Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how copy formula that contains ranges so ranges do not overlap | Excel Worksheet Functions | |||
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... | Excel Programming | |||
union of named ranges based only on the names of those ranges | Excel Programming | |||
Copy data in named ranges to a newer version of the same template to identical ranges | Excel Programming | |||
named ranges - changing ranges with month selected | Excel Programming |