ecojohnson
Programmer
Hi everyone.
I am trying to create an excel report where I specify a date range on one of the worksheets. Cell A1 might be something like: 4/1/08, and cell A2 might be something like: 4/30/08.
The remaining worksheets are set up so they each have various information on them, and this information is pulled from different database queries (in other words, each worksheet has a separate query).
What I am trying to do is use the dates from the first cell as a date range to filter the data on the remaining worksheets. So, if one of my worksheets pulled all orders and order dates from a database query, I only want to pull dates from the date range on the first worksheet.
The reason for doing this is the report will be run on an ongoing basis (every month or so). When running the report, I will set the date range (the reason for the first worksheet), and I don't want to set this date range for each worksheet everytime I need to change a date. Yes, I could run a date range filter at the time of the query, but then I would have to do this mutliple times (setting up a new date range for each query). I just want to do this once.
I looked at the filters option in the help file, but it doesn't seem to allow me to filter from another worksheet (or at least I am not understanding the help file correctly).
If anyone has any ideas on how to do this, or if you need more clarification, please let me know.
Thanks.
I am trying to create an excel report where I specify a date range on one of the worksheets. Cell A1 might be something like: 4/1/08, and cell A2 might be something like: 4/30/08.
The remaining worksheets are set up so they each have various information on them, and this information is pulled from different database queries (in other words, each worksheet has a separate query).
What I am trying to do is use the dates from the first cell as a date range to filter the data on the remaining worksheets. So, if one of my worksheets pulled all orders and order dates from a database query, I only want to pull dates from the date range on the first worksheet.
The reason for doing this is the report will be run on an ongoing basis (every month or so). When running the report, I will set the date range (the reason for the first worksheet), and I don't want to set this date range for each worksheet everytime I need to change a date. Yes, I could run a date range filter at the time of the query, but then I would have to do this mutliple times (setting up a new date range for each query). I just want to do this once.
I looked at the filters option in the help file, but it doesn't seem to allow me to filter from another worksheet (or at least I am not understanding the help file correctly).
If anyone has any ideas on how to do this, or if you need more clarification, please let me know.
Thanks.