MS Query - Parameter Question

MarkAndrews

Well-known Member
Joined
May 2, 2006
Messages
1,963
When using MS Query, can you use a sheet tab (Jan, Feb, Mar etc) as the parameter, so the query will return the data held on that sheet?

TIA
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

stuartford

Active Member
Joined
Nov 28, 2002
Messages
419
Bear with me here cause this isnt exactly what your looking for but it might be of help

there is a formula that you can type into excel that returns the Active Sheet Name you could use that as your look up criteria in the MSQ. now unfortunatly i cant remember how this formula is written and im struggling to get the search to work but im sure someone on here knows.

so not the greatest response but i hope its of some help

Stu
 

Watch MrExcel Video

Forum statistics

Threads
1,114,096
Messages
5,545,926
Members
410,713
Latest member
TaremyLunsil
Top