LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default MS Query Refresh Based on Dynamic Named Range

I am trying to create a query that I can update that will return values based
on criteria from a named range (or a list of values). Right now I have a
named range €śValueList€ť that is defined as
=OFFSET(RangeValues!$B$2,0,0,COUNT(RangeValues!$B: $B),1). I would like for
the query to alter its selection criteria based on what is keyed into column
B of the €śRangeValues€ť worksheet. Hopefully the finished product would be
for me to add/delete/update values in column B, then run a macro that will
return data based on what is currently in column B.

I am connecting through an ODBC and can get the results I want if I copy and
paste the criteria values into the SQL each time they change, but I cant get
it to work based on a dynamic range of values.

Any help would be greatly appreciated.

 
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
Dynamic Named Range [email protected] Excel Discussion (Misc queries) 0 November 20th 07 03:08 PM
using a dynamic named range in a VLOOKUP Dave F Excel Discussion (Misc queries) 3 January 19th 07 08:38 PM
Problem with Dynamic Named Range Philip Excel Worksheet Functions 1 December 7th 06 04:09 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Dynamic Named Range bountifulgrace Charts and Charting in Excel 1 April 6th 06 08:39 PM


All times are GMT +1. The time now is 01:47 AM.

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"