PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting automate generation of many charts

Reply

automate generation of many charts

 
Thread Tools Rate Thread
Old 09-02-2004, 06:30 PM   #1
Neil
Guest
 
Posts: n/a
Default automate generation of many charts


Hi

I am trying to build a desktop application that will auto-generate graphs
for us, based on the table below.

The figures relate to usage levels per part. There are about 8000 rows, and
i require a graph for each ROW !
The title of the graph is the part number, the first line on the graph is
the usage per period, and the second line is the average usage which is
drawn across all periods. the x-axis labels is 'period n', per
column.


PartID Description Period 10 Period 11
Period 12 AverageUsage
00100019 SCREW 0.05 0 0
0.00625
00200010 NAIL 0.05 0.1
0 0.01875


how can i build some code/macro/command that can do this ?
i thought about being able to type in the partID to generate the graph, or
place a button next to the row which generates a graph for that row.

The raw data comes from the mainframe in .csv format, and then i import that
into excel. I also have MSAccess at my disposal.

can anyone help? i am using office xp
Thanks


  Reply With Quote
Old 09-02-2004, 07:11 PM   #2
Tushar Mehta
Guest
 
Posts: n/a
Default Re: automate generation of many charts

I definitely would not even try and generate 8,000 graphs at the same
time. The easiest would be to do one and customize it for each item of
interest. Basically, automate the appropriate example in the Dynamic
Charts tutorial on my site.

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article <uF9EQrz7DHA.4060@tk2msftngp13.phx.gbl>, asdf@asdf.com
says...
> Hi
>
> I am trying to build a desktop application that will auto-generate graphs
> for us, based on the table below.
>
> The figures relate to usage levels per part. There are about 8000 rows, and
> i require a graph for each ROW !
> The title of the graph is the part number, the first line on the graph is
> the usage per period, and the second line is the average usage which is
> drawn across all periods. the x-axis labels is 'period n', per
> column.
>
>
> PartID Description Period 10 Period 11
> Period 12 AverageUsage
> 00100019 SCREW 0.05 0 0
> 0.00625
> 00200010 NAIL 0.05 0.1
> 0 0.01875
>
>
> how can i build some code/macro/command that can do this ?
> i thought about being able to type in the partID to generate the graph, or
> place a button next to the row which generates a graph for that row.
>
> The raw data comes from the mainframe in .csv format, and then i import that
> into excel. I also have MSAccess at my disposal.
>
> can anyone help? i am using office xp
> Thanks
>
>
>

  Reply With Quote
Old 09-02-2004, 07:38 PM   #3
Jon Peltier
Guest
 
Posts: n/a
Default Re: automate generation of many charts

Neil -

The code to spit out charts automatically isn't too complicated. Do you
need a chart for each row, or for whatever row is indicated by the user.
Either is easy enough to do.

The problem is that 8000 charts is rather a lot. If you do need 8000
charts, where will you put them? Excel will choke after many fewer
charts than that on a single worksheet.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

Neil wrote:

> Hi
>
> I am trying to build a desktop application that will auto-generate graphs
> for us, based on the table below.
>
> The figures relate to usage levels per part. There are about 8000 rows, and
> i require a graph for each ROW !
> The title of the graph is the part number, the first line on the graph is
> the usage per period, and the second line is the average usage which is
> drawn across all periods. the x-axis labels is 'period n', per
> column.
>
>
> PartID Description Period 10 Period 11
> Period 12 AverageUsage
> 00100019 SCREW 0.05 0 0
> 0.00625
> 00200010 NAIL 0.05 0.1
> 0 0.01875
>
>
> how can i build some code/macro/command that can do this ?
> i thought about being able to type in the partID to generate the graph, or
> place a button next to the row which generates a graph for that row.
>
> The raw data comes from the mainframe in .csv format, and then i import that
> into excel. I also have MSAccess at my disposal.
>
> can anyone help? i am using office xp
> Thanks
>
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off