Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default is this possible

Hi all

I have a requirement to provide a stat analysis based upon the movement of
my vehicle fleet. Each vehicle visits a number of locations everyday. The
arrival and departure times are recorded in my parcel tracking system which
is held on my SQL 2000 database.

What I need to do is to show a headline page of average delivery times over
a period of 13 weeks and then a seperate worksheet showing the specific
detail for each delivery point.

So far I have started my project in the following way.

1. I have a worksheet that queries my database for a current list of
delivery points
2. I have a worksheet that queries my delivery data to show each daily
delivery time in and out
3. I have a VBA code snippet that creates worksheets based upon the list of
delivery points and orders them alphabetically

I have my sql query ready to extract the data from my database but I have no
idea how to place only relevant data into each worksheet. Each worksheet is
named as its delivery point so i need to know howto get each worksheet to
hold only the data related .

Or.... Am I approaching this completely wrong?

Any ideas appreciated

Gavin


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default is this possible

Consider using Pivot Tables: you might be able to deliverthe solution without
any programming at all.

"Gavin Jones" wrote:

Hi all

I have a requirement to provide a stat analysis based upon the movement of
my vehicle fleet. Each vehicle visits a number of locations everyday. The
arrival and departure times are recorded in my parcel tracking system which
is held on my SQL 2000 database.

What I need to do is to show a headline page of average delivery times over
a period of 13 weeks and then a seperate worksheet showing the specific
detail for each delivery point.

So far I have started my project in the following way.

1. I have a worksheet that queries my database for a current list of
delivery points
2. I have a worksheet that queries my delivery data to show each daily
delivery time in and out
3. I have a VBA code snippet that creates worksheets based upon the list of
delivery points and orders them alphabetically

I have my sql query ready to extract the data from my database but I have no
idea how to place only relevant data into each worksheet. Each worksheet is
named as its delivery point so i need to know howto get each worksheet to
hold only the data related .

Or.... Am I approaching this completely wrong?

Any ideas appreciated

Gavin



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"