Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi! does anyone know how?
sub StillShowTotalOnTop_ON()
chartArray = Array("CH23","CH25")
For Each chart In chartArray
set chart = ActiveDocument.GetSheetObject(chart)
set chartP = chart.GetProperties
chartP.ChartProperties.ShowTotalWithInsideValues = true
chart.SetProperties chartP
Next
end sub
sub StillShowTotalOnTop_OFF()
chartArray = Array("CH23","CH25")
For Each chart In chartArray
set chart = ActiveDocument.GetSheetObject(chart)
set chartP = chart.GetProperties
chartP.ChartProperties.ShowTotalWithInsideValues = false
chart.SetProperties chartP
Next
end sub
sub StillShowTotalOnTop_ON()
chartArray = Array("CH23","CH25")
For Each chart In chartArray
set chart = ActiveDocument.GetSheetObject(chart)
set chartP = chart.GetProperties
chartP.ChartProperties.ShowTotalWithInsideValues = true
chart.SetProperties chartP
Next
end sub
sub StillShowTotalOnTop_OFF()
chartArray = Array("CH23","CH25")
For Each chart In chartArray
set chart = ActiveDocument.GetSheetObject(chart)
set chartP = chart.GetProperties
chartP.ChartProperties.ShowTotalWithInsideValues = false
chart.SetProperties chartP
Next
end sub