Sugith,
Here is some code that I got using the macro recorder. Below it is a more
streamlined code made by eliminating code lines not neeed.
=================================================
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 9/22/2003 by Sbell
'
'
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.SeriesCollection(1).Select
With Selection.Border
.Weight = xlThin
.LineStyle = xlNone
End With
With Selection
.MarkerBackgroundColorIndex = xlAutomatic
.MarkerForegroundColorIndex = xlAutomatic
.MarkerStyle = xlAutomatic
.Smooth = False
.MarkerSize = 5
.Shadow = False
End With
ActiveChart.SeriesCollection(1).ApplyDataLabels
Type:=xlDataLabelsShowValue, _
AutoText:=True, LegendKey:=False
End Sub
=============================================
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 9/22/2003 by Sbell
'
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.SeriesCollection(1).Select
With Selection.Border
.LineStyle = xlNone
End With
ActiveChart.SeriesCollection(1).ApplyDataLabels
Type:=xlDataLabelsShowValue, _
AutoText:=True, LegendKey:=False
End Sub
===============================================