Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have multiple sheets and there is a single chart on each sheet. I
want to use this macro but not all charts are named Chart1. Is there a way the macro can be made to work no matter what the chart name is? Sub TestChart() With ActiveSheet.ChartObjects("Chart 1").Chart.Axes(xlValue) .MinimumScale = WorksheetFunction.Min(Range("B3:B17")) .MaximumScale = WorksheetFunction.Max(Range("B3:B17")) End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determine if a chart exists | Excel Programming | |||
Using a formula to determine variable rows in Chart | Charts and Charting in Excel | |||
Determine if data label overlaps chart title? | Charts and Charting in Excel | |||
determine colouring of variables of a pie chart | Charts and Charting in Excel |