ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Macro for graphing (https://www.excelbanter.com/charts-charting-excel/94013-macro-graphing.html)

jrussl

Macro for graphing
 

I am trying to create a macro that will move the data range used in an
XY graph backward or forward by on cell at a time. I have a very large
data set and want to graph 30 XY points and be able to step backward and
forward throught the data and watch the graphs change.

Can anyone show me how to create this macro?

Jeff


--
jrussl
------------------------------------------------------------------------
jrussl's Profile: http://www.excelforum.com/member.php...o&userid=35427
View this thread: http://www.excelforum.com/showthread...hreadid=551961


Jon Peltier

Macro for graphing
 
You don't need a macro, you can do it with dynamic ranges. Here are some
examples and links to other examples:

http://peltiertech.com/Excel/Charts/Dynamics.html

This more detailed example may be appropriate to your application:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"jrussl" wrote in
message ...

I am trying to create a macro that will move the data range used in an
XY graph backward or forward by on cell at a time. I have a very large
data set and want to graph 30 XY points and be able to step backward and
forward throught the data and watch the graphs change.

Can anyone show me how to create this macro?

Jeff


--
jrussl
------------------------------------------------------------------------
jrussl's Profile:
http://www.excelforum.com/member.php...o&userid=35427
View this thread: http://www.excelforum.com/showthread...hreadid=551961





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com