Updating a query

KateV

New Member
Joined
Aug 1, 2007
Messages
2
I am using MS office 2000. I use query to import a list of client names and their individual contract numbers from a billable report which is in a separate excel workbook.
EX:

15 ABC
30 Group
12 Joe Smith Co.

I then take this info and put it into a chart. My problem is that each new week, I create a new billable report worksheet. Currently my query data is coming from 071407 but now I want it to come from 072807 and so on and so forth. How can I change this? (And if so, automatically would be great). Thanks!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
How many rows, approximately, are on each billable report worksheet?

If there aren't that many it may be helpful to restructure your data into one long list rather than separated into worksheets.

You could keep track of the week using column A rather than using a tab name.

Then the query would always be pointing to the same sheet (so you woruldn't have to edit the query itself)a nd you could use the week identifier as one of the query parameters.
 
Upvote 0
unfortunately the report is over 70 rows by 20 columns, trust me i'd be using your suggestion if i could
 
Upvote 0
Kate:

70 rows by 20 columns doesn't seem very large to me. I'd highly recommend using one very long list.
 
Upvote 0

Forum statistics

Threads
1,213,559
Messages
6,114,302
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top