T
Tcs
I haven't actually played with coding any VBA to make anything happen regarding Excel. (I'm running
2k3, as part of Office 2k3.) So while I know VBA (not as an expert mind you), I'm starting from
scratch when it comes to dealing with Excel, regardless of whether we're talking workBOOK,
workSHEET, or whatever.
I was hoping that perhaps someone with more experience than I might provide some advice as to
whether what I'd like to do is even possible. And if so, maybe how.
I have a table of some 22,000 records (currently). These records are all the Applications which
were made for Building permits of one kind or another. The timeframe is from January 2000 thru
August 2006 (the present). Each record contains the year it was created, along with other pertinent
data, including a calculation of how many days it took to process (be issued a permit from the date
of application). This processing time is our primary interest.
What I would *like* to do, is create one workbook with multiple worksheets inside. For example:
1.) Overall stats: Average processing time & counts for ALL permits (and by type).
2.) Stats by year: Average processing time & counts for ALL permits (and by type) for a specified
year.
There are probably others, which don't come to mind at the moment.
Normally, I would generate a query for each of the sheets I'm after. But I can't use the same name
over again, as Excel wants to replace the existing book with my current export. So I was thinking
that perhaps I could CODE what I want, and end up with everything pertinent to permits in JUST ONE
WORKBOOK.
Possible? No? Easy? Hard? How? Stick with doing it manually?
Thanks in advance for your guidance,
Tom
2k3, as part of Office 2k3.) So while I know VBA (not as an expert mind you), I'm starting from
scratch when it comes to dealing with Excel, regardless of whether we're talking workBOOK,
workSHEET, or whatever.
I was hoping that perhaps someone with more experience than I might provide some advice as to
whether what I'd like to do is even possible. And if so, maybe how.
I have a table of some 22,000 records (currently). These records are all the Applications which
were made for Building permits of one kind or another. The timeframe is from January 2000 thru
August 2006 (the present). Each record contains the year it was created, along with other pertinent
data, including a calculation of how many days it took to process (be issued a permit from the date
of application). This processing time is our primary interest.
What I would *like* to do, is create one workbook with multiple worksheets inside. For example:
1.) Overall stats: Average processing time & counts for ALL permits (and by type).
2.) Stats by year: Average processing time & counts for ALL permits (and by type) for a specified
year.
There are probably others, which don't come to mind at the moment.
Normally, I would generate a query for each of the sheets I'm after. But I can't use the same name
over again, as Excel wants to replace the existing book with my current export. So I was thinking
that perhaps I could CODE what I want, and end up with everything pertinent to permits in JUST ONE
WORKBOOK.
Possible? No? Easy? Hard? How? Stick with doing it manually?
Thanks in advance for your guidance,
Tom