Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 168
Default Scaling Multiple Graphs At the Same Time

Is there any way to manually scale one graph and then have others change to
the same scale?

Thanks

Adam Bush

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Scaling Multiple Graphs At the Same Time

Set one axis, then select another and press F4. In Excel 2007 this is
practically ineffective compared to Excel 2003 and earlier.

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


"
m wrote in message
...
Is there any way to manually scale one graph and then have others change
to
the same scale?

Thanks

Adam Bush



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 168
Default Scaling Multiple Graphs At the Same Time

Thanks for the help! That works great, however is there any way to automate
it so the graphs automatically change when you change one?

Thanks again,

Adam Bush

"Jon Peltier" wrote:

Set one axis, then select another and press F4. In Excel 2007 this is
practically ineffective compared to Excel 2003 and earlier.

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


"
m wrote in message
...
Is there any way to manually scale one graph and then have others change
to
the same scale?

Thanks

Adam Bush




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Scaling Multiple Graphs At the Same Time

You can broaden the approach in this example:

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

This works on one specified chart:

Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Address
Case "$E$2"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlCategory) _
.MaximumScale = Target.Value
Case "$E$3"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlCategory) _
.MinimumScale = Target.Value
Case "$E$4"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlCategory) _
.MajorUnit = Target.Value
Case "$F$2"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlValue) _
.MaximumScale = Target.Value
Case "$F$3"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlValue) _
.MinimumScale = Target.Value
Case "$F$4"
ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlValue) _
.MajorUnit = Target.Value
Case Else
End Select
End Sub

This works on all charts on the active sheet:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim iChart As Long
Dim cht As Chart

For iChart = 1 To ActiveSheet.ChartObjects.Count
Set cht = ActiveSheet.ChartObjects(iChart).Chart
Select Case Target.Address
Case "$E$2"
cht.Axes(xlCategory).MaximumScale = Target.Value
Case "$E$3"
cht.Axes(xlCategory).MinimumScale = Target.Value
Case "$E$4"
cht.Axes(xlCategory).MajorUnit = Target.Value
Case "$F$2"
cht.Axes(xlValue).MaximumScale = Target.Value
Case "$F$3"
cht.Axes(xlValue).MinimumScale = Target.Value
Case "$F$4"
cht.Axes(xlValue).MajorUnit = Target.Value
Case Else
End Select
Next
End Sub

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



"
m wrote in message
...
Thanks for the help! That works great, however is there any way to
automate
it so the graphs automatically change when you change one?

Thanks again,

Adam Bush

"Jon Peltier" wrote:

Set one axis, then select another and press F4. In Excel 2007 this is
practically ineffective compared to Excel 2003 and earlier.

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


"
m wrote in message
...
Is there any way to manually scale one graph and then have others
change
to
the same scale?

Thanks

Adam Bush






  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 857
Default Scaling Multiple Graphs At the Same Time

Hi Adam,

You would need to write a VBA routine to handle that.

Cheers,
Shane


" m wrote in message ...
Thanks for the help! That works great, however is there any way to automate
it so the graphs automatically change when you change one?

Thanks again,

Adam Bush

"Jon Peltier" wrote:

Set one axis, then select another and press F4. In Excel 2007 this is
practically ineffective compared to Excel 2003 and earlier.

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


"
m wrote in message
...
Is there any way to manually scale one graph and then have others change
to
the same scale?

Thanks

Adam Bush






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
Updating multiple graphs in multiple worksheets at the same time J@Y Excel Discussion (Misc queries) 3 February 1st 07 03:30 AM
Variable time scaling for different views in a graph Matz Excel Discussion (Misc queries) 3 August 6th 06 04:54 AM
Scaling time on the x-axis of a graph Callum Excel Discussion (Misc queries) 1 May 20th 06 02:06 AM
Scaling x-axis with time Callum Charts and Charting in Excel 3 May 18th 06 05:42 PM
Scaling of graphs through formulas Hari Prasadh Charts and Charting in Excel 4 July 12th 05 05:40 AM


All times are GMT +1. The time now is 11:49 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"