Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all!
I need to know in a macro whether a chart has the setting "Plot Values Inside Segments" set to "on" or "off". I've been searching the API guide, but no luck... Wondering if anyone knows whether such API exists...
thanks!
I think it is NumbersOnDataPointsLocation
I think it is NumbersOnDataPointsLocation
Yep, that's it, just found it myself and wanted to update the thread:
rem Plots numbers inside segments
set chart=ActiveDocument.GetSheetObject("CH02")
set p = chart.GetProperties
p.ChartProperties.NumbersOnDataPointsLocation = 1 '1 - Inside segments, O - On top
chart.SetProperties p
thanks Michael!