Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Excel cell contents to query criteria

Repeat of a previous unanswered request dated 2/8/2009 because it would help
me too.
"Is there a way to have the input parameters/query criteria to a query within
Excel be taken from cells within the worksheet? Am trying to avoid going in
and altering the specific query file each time with various parameters - for
example, date ranges."
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Excel cell contents to query criteria

hi
yes. assuming you already have a parameter query, simply right click the
query range and choose parameters. a parameter dialog will pop up with three
options.
1. prompt for value with string ie ask of input.
2. use the following value
3. get value from cell.

you want option 3.

if you don't have a parameter query set up yet, you will have to set one up
first, otherwize the parameter option on the right click will be grayed out.

regards
FSt1
"Jimbo" wrote:

Repeat of a previous unanswered request dated 2/8/2009 because it would help
me too.
"Is there a way to have the input parameters/query criteria to a query within
Excel be taken from cells within the worksheet? Am trying to avoid going in
and altering the specific query file each time with various parameters - for
example, date ranges."

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
Link a cell of a sheet to a Query Criteria in EXCEL 2007 Yuanhang Excel Discussion (Misc queries) 0 March 20th 08 09:16 PM
Applying Criteria in Excel Cell to MS Query Pull from Access Tony Excel Discussion (Misc queries) 1 February 1st 08 04:43 PM
How do I specify cell contents for the Criteria in SUMIF? Michael Excel Worksheet Functions 6 August 27th 07 08:42 PM
Using A Cell In Excel as Criteria for a Query charles Excel Discussion (Misc queries) 2 July 14th 06 05:06 PM
Finding cell contents based on certain criteria thekovinc Excel Discussion (Misc queries) 1 March 15th 06 07:20 PM


All times are GMT +1. The time now is 02:29 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"