Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
WSIB#1
 
Posts: n/a
Default macro to make line graphs

is there a macro available to grab data from 3 columns, make 3 corresponding
lines on a graph and then print the graph?

if so; is there a macro to do the above 100 times... that is; end up
printing 100 pages automatically, with one graph on each page, consisting of
the 3 lines on each graph?

much appreciated.
  #2   Report Post  
Markus Scheible
 
Posts: n/a
Default

Hi unknown,

afaik there is no macro that does that.... unless you
write one yourself ;o)

is there a macro available to grab data from 3 columns,

make 3 corresponding
lines on a graph and then print the graph?

if so; is there a macro to do the above 100 times... that

is; end up
printing 100 pages automatically, with one graph on each

page, consisting of
the 3 lines on each graph?


You could also do that, depending where you data columns
are, if they vary in length a.s.o.

Could you be a bit more precise, please?

Best

Markus


  #3   Report Post  
Tushar Mehta
 
Posts: n/a
Default

Turn on the macro recorder (Tools | Macro Record new macro...), create
the desired chart, print it and turn off the recorder. Switch to the
VBE and XL will give you the code.

Share that code as well as an explanation of how the 100 charts differ
from one another and someone should be able to customize the code for
you.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article , WSIB1
@discussions.microsoft.com says...
is there a macro available to grab data from 3 columns, make 3 corresponding
lines on a graph and then print the graph?

if so; is there a macro to do the above 100 times... that is; end up
printing 100 pages automatically, with one graph on each page, consisting of
the 3 lines on each graph?

much appreciated.

  #4   Report Post  
WSIB#1
 
Posts: n/a
Default

good stuff. just did that and worked perfectly. now will check out putting
the code in a loop to print all 100 charts.
thanks.

"Tushar Mehta" wrote:

Turn on the macro recorder (Tools | Macro Record new macro...), create
the desired chart, print it and turn off the recorder. Switch to the
VBE and XL will give you the code.

Share that code as well as an explanation of how the 100 charts differ
from one another and someone should be able to customize the code for
you.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article , WSIB1
@discussions.microsoft.com says...
is there a macro available to grab data from 3 columns, make 3 corresponding
lines on a graph and then print the graph?

if so; is there a macro to do the above 100 times... that is; end up
printing 100 pages automatically, with one graph on each page, consisting of
the 3 lines on each graph?

much appreciated.


  #5   Report Post  
Tushar Mehta
 
Posts: n/a
Default

Good that worked out. If you need help converting the code into a loop
structure, you know where to post... {grin}

--
Regards,

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

In article , WSIB1
@discussions.microsoft.com says...
good stuff. just did that and worked perfectly. now will check out putting
the code in a loop to print all 100 charts.
thanks.

"Tushar Mehta" wrote:

Turn on the macro recorder (Tools | Macro Record new macro...), create
the desired chart, print it and turn off the recorder. Switch to the
VBE and XL will give you the code.

Share that code as well as an explanation of how the 100 charts differ
from one another and someone should be able to customize the code for
you.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article , WSIB1
@discussions.microsoft.com says...
is there a macro available to grab data from 3 columns, make 3 corresponding
lines on a graph and then print the graph?

if so; is there a macro to do the above 100 times... that is; end up
printing 100 pages automatically, with one graph on each page, consisting of
the 3 lines on each graph?

much appreciated.



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a section of a chart line dotted? odcltd Charts and Charting in Excel 2 January 22nd 05 02:26 AM
How do I make a section of a chart line dotted? odcltd Charts and Charting in Excel 0 January 21st 05 09:39 AM
Make a macro of keystrokes. ie. F2,Shift & Home & right cursor,de. Ted Byrd Excel Worksheet Functions 1 December 29th 04 05:52 PM
Macro - Skipping a line PaulPoll Excel Worksheet Functions 4 December 21st 04 12:43 AM
Line Graphs and Bar Graphs Christopher Anderson Excel Discussion (Misc queries) 1 December 3rd 04 06:16 PM


All times are GMT +1. The time now is 11:41 AM.

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

About Us

"It's about Microsoft Excel"