Hi everybody,
I am trying to make Visual Basic read out the Value in a cell and turn an object according to this Value. The problem is that I have it pointing towards a Cell that contains a formula in order to calculate the exact value. Copy of the code:
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.Shapes.Range(Array("Group 179")).Select
Selection.ShapeRange.Rotation = Range("C2").Value * 240
End Sub
Object 179 is supposed to turn between 0 - 240 degrees based on the value in cell C2, only this one calculates a percentage of completion.