How to display Excel formula in a chart
Is there a function within Excel where you can highlight a line on a
chart and Excel will determine the formula for the line?
I can see data values just fine, but I would like to see formulas.
Software
Is there a function within Excel where you can highlight a line on a
chart and Excel will determine the formula for the line?
I can see data values just fine, but I would like to see formulas.
by dklippert
Interesting idea. I think I've found what you're looking for:
www.j-walk.com/ss/excel/tips/tip83.htm
"When you select a series in a chart, its SERIES formula is displayed in the formula bar. The Formula property returns this formula as a string." John Walkenbach
by igp
Sub FormulaChart()
Dim MyChart As New ChartSeries
With MyChart
Chart = Sheets(1).ChartObjects(1).Chart
ChartSeries = 1
If .XValuesType = "Range" Then
MsgBox .XValues.Address
ElseMsgBox .XValues
End If
End With
End Sub
by anejako
by anejako
This discussion is closed to new replies.
Sort by Trending