Mama check kara ban. Macro record wenawa
Umbe office version eke kachal ekak da danne ne. Koi ekatath office wala Macro enabled karala thiyapan.
menna sample code ekak
Sub ShapeADD()
' ShapeADD Macro
ActiveSheet.Shapes.AddLine(54#, 111#, 270#, 112.5).Select
Selection.ShapeRange.Flip msoFlipVertical
ActiveSheet.Shapes.AddLine(55.5, 141#, 268.5, 141.75).Select
Selection.ShapeRange.Line.EndArrowheadStyle = msoArrowheadTriangle
Selection.ShapeRange.Line.EndArrowheadLength = msoArrowheadLengthMedium
Selection.ShapeRange.Line.EndArrowheadWidth = msoArrowheadWidthMedium
Selection.ShapeRange.Flip msoFlipVertical
ActiveSheet.Shapes.AddShape(msoShapeRectangle, 108#, 169.5, 78#, 75.75). _
Select
ActiveSheet.Shapes.AddShape(msoShapeOval, 113.25, 275.25, 80.25, 79.5).Select
ActiveSheet.Shapes.AddShape(msoShapeHeart, 378.75, 87.75, 120#, 101.25). _
Select
ActiveSheet.Shapes.AddShape(msoShapeCloudCallout, 285#, 246#, 172.5, _
111#).Select
Selection.Characters.Text = ""
With Selection.Font
.Name = "Times New Roman"
.FontStyle = "Regular"
.Size = 12
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = xlAutomatic
End With
End Sub