Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Parameters to an Excel Query (NOT Power Query)

Status
Not open for further replies.

SkipVought

Programmer
Dec 4, 2001
47,485
7
38
US
Code:
WHERE [Start Date] >=?
AND [End Date] <?

When you Return data to Excel, you will be able to control the way that the Parameters are entered. As I recall there are 3 options including to specify the CELL(s) that the data resides.

Right-click in the QueryTable results and Select Table from Drop Down.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top