I want to change the code below so if the value
30 is entered into Sheet 1 A2 then “Group 1” will rotate to shape ‘Isosceles Triangle 30’
40 is entered into Sheet1 A2 then “Group 1” will rotate to shape ‘Isosceles Triangle 40’
50 is entered into Sheet 1 A2 then “Group 1” will rotate to shape ‘Isosceles Triangle 50’
Can you help?
30 is entered into Sheet 1 A2 then “Group 1” will rotate to shape ‘Isosceles Triangle 30’
40 is entered into Sheet1 A2 then “Group 1” will rotate to shape ‘Isosceles Triangle 40’
50 is entered into Sheet 1 A2 then “Group 1” will rotate to shape ‘Isosceles Triangle 50’
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Shapes.Range(Array("Group 1")).Select
Selection.ShapeRange.Rotation = Range("A2").Value * 90
ActiveCell.Select
End Sub
Can you help?