Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
From an earlier posting, I am using this to set the range of a chart.
' Set Chart Range Value (Y) Axis <<<<< With ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlValue) .MinimumScale = WorksheetFunction.Min(Range("B3:B18")) .MaximumScale = WorksheetFunction.Max(Range("B3:B18")) End With ' Set Chart Range Value (X) Axis <<<<< With ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlCategory) .MinimumScale = WorksheetFunction.Min(Range("A3:A18")) .MaximumScale = WorksheetFunction.Max(Range("A3:A18")) End With I would also like to read the formatting of the data and apply that to the chart. It changes often. Excel 97 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cannot apply the default chart type to the selected data | Charts and Charting in Excel | |||
Apply Conditional Formatting If Data in More Than 1 Cell Matches | Excel Discussion (Misc queries) | |||
Help - Apply Formatting To Current Row | Excel Programming | |||
Can I Apply Conditional Formatting to a Chart? | Charts and Charting in Excel | |||
Pivot Chart: cannot apply the default chart type... | Charts and Charting in Excel |