Excel Query Parameters

J

jason

Is there a way to have the input parameters to a query within Excel 2007 be
taken from cell values within the worksheet. For example, i have a query
that uses date ranges as the query criteria. But I need to go into the query
file each time and update the dates each time i run it. Rather, I would like
to have the date values taken directly from the worksheet which I am using
the query within.

Thanks-
 
D

Don Guillett

Record a macro while doing it and then see how to change the url parameters.
If all else fails, send your wb to my address below.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top