View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Nicky[_7_] Nicky[_7_] is offline
external usenet poster
 
Posts: 1
Default Question on Positioning Bar Chart Labels

Hi micahel
try this

Sub position_labels()
For Each ss In ActiveChart.SeriesCollection
values_array = ss.Values
For n = 1 To ss.Points.Count
If values_array(n) < 0 Then ss.Points(n).DataLabel.Position
xlLabelPositionInsideBase Else ss.Points(n).DataLabel.Position
xlLabelPositionOutsideEnd
Next
Next
End Su

--
Message posted from http://www.ExcelForum.com