roc_on_the_rocks
Board Regular
- Joined
- Jun 6, 2009
- Messages
- 175
- Office Version
- 365
- Platform
- Windows
Folks,
I'm cleaning up a long VBA code and I got really stuck here:
How can I get to remove the Select/Selection here?
Many thanks!
I'm cleaning up a long VBA code and I got really stuck here:
Code:
' Adds AutoShape box for COMMENTS
ActiveChart.Shapes.AddShape(msoShapeFoldedCorner, 432, 467, 240, 19).Select
Selection.ShapeRange.Line.Weight = 1
Selection.ShapeRange.Fill.ForeColor.SchemeColor = 13
Selection.ShapeRange.Fill.Visible = msoTrue
Selection.ShapeRange.Fill.Solid
Selection.Characters.Text = "COMMENTS"
Selection.Characters.Font.ColorIndex = xlAutomatic
Selection.VerticalAlignment = xlCenter
Selection.HorizontalAlignment = xlCenter
How can I get to remove the Select/Selection here?
Many thanks!