Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Querying a range from within excel

Hi,

Wondering if anyone can advise how to query a named range within an excel
spreadsheet. ie rather than query an external datasource I would like to have
a table in excel that is named by a range and then query the range using
criteria to return a sub set of records. I would prefer not to do this using
pivot tables, unless there is a way to turn off the GUI interface to pivot
tables.

Thanks

--
David Wright
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Querying a range from within excel

You can use the ADO Excel driver. Plenty of examples if you google this
newsgroup or the web.

Tim

--
Tim Williams
Palo Alto, CA


"David Wright" wrote in message
...
Hi,

Wondering if anyone can advise how to query a named range within an excel
spreadsheet. ie rather than query an external datasource I would like to

have
a table in excel that is named by a range and then query the range using
criteria to return a sub set of records. I would prefer not to do this

using
pivot tables, unless there is a way to turn off the GUI interface to pivot
tables.

Thanks

--
David Wright



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Querying a range from within excel

Tim, Thanks for your reply which was very helpful which together with
together with Tom's help has got me on my way.
--
David Wright


"Tim Williams" wrote:

You can use the ADO Excel driver. Plenty of examples if you google this
newsgroup or the web.

Tim

--
Tim Williams
Palo Alto, CA


"David Wright" wrote in message
...
Hi,

Wondering if anyone can advise how to query a named range within an excel
spreadsheet. ie rather than query an external datasource I would like to

have
a table in excel that is named by a range and then query the range using
criteria to return a sub set of records. I would prefer not to do this

using
pivot tables, unless there is a way to turn off the GUI interface to pivot
tables.

Thanks

--
David Wright




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Querying a range from within excel

Just in case you are not awa
If you do it with code, there is no GUI interface.

--
Regards,
Tom Ogilvy


"David Wright" wrote in message
...
Hi,

Wondering if anyone can advise how to query a named range within an excel
spreadsheet. ie rather than query an external datasource I would like to

have
a table in excel that is named by a range and then query the range using
criteria to return a sub set of records. I would prefer not to do this

using
pivot tables, unless there is a way to turn off the GUI interface to pivot
tables.

Thanks

--
David Wright



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Querying a range from within excel

Tom, Thanks for your reply which was very helpful which together with
together with Tim's help has got me on my way.

--
David Wright


"Tom Ogilvy" wrote:

Just in case you are not awa
If you do it with code, there is no GUI interface.

--
Regards,
Tom Ogilvy


"David Wright" wrote in message
...
Hi,

Wondering if anyone can advise how to query a named range within an excel
spreadsheet. ie rather than query an external datasource I would like to

have
a table in excel that is named by a range and then query the range using
criteria to return a sub set of records. I would prefer not to do this

using
pivot tables, unless there is a way to turn off the GUI interface to pivot
tables.

Thanks

--
David Wright






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Querying a range from within excel

also, you can fetch a subset of records (even of fields) using the Advanced
Filter. (manual or a single command in code).

Debra Dalgleish
http://www.contextures.com/tiptech.html

Look under A

--
Regards,
Tom Ogilvy


"David Wright" wrote in message
...
Hi,

Wondering if anyone can advise how to query a named range within an excel
spreadsheet. ie rather than query an external datasource I would like to

have
a table in excel that is named by a range and then query the range using
criteria to return a sub set of records. I would prefer not to do this

using
pivot tables, unless there is a way to turn off the GUI interface to pivot
tables.

Thanks

--
David Wright



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Querying a range returned by another function Bill Steamshove Excel Worksheet Functions 2 April 9th 06 04:56 PM
Querying a range within Excel David Wright Excel Worksheet Functions 0 February 1st 06 07:50 PM
Dynamically filling a static name (for querying an Excel range) Air_Cooled_Nut[_6_] Excel Programming 3 October 29th 04 09:57 PM
Dynamically filling a static name (for querying an Excel range) Air_Cooled_Nut[_7_] Excel Programming 0 October 29th 04 08:35 PM


All times are GMT +1. The time now is 02:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"