Seamus2626
asked on
AutoColour Arrows
Hi,
I have some code that autocolours my Ovals, can anyone amend my code so that it autocolours my arrows.
I have some code that autocolours my Ovals, can anyone amend my code so that it autocolours my arrows.
Private Sub Worksheet_Calculate()
Dim ovl As Oval
For Each ovl In Me.Ovals
If Range(Trim$(ovl.Formula)).Value < 0 Then
ovl.Interior.Color = vbRed
ovl.Font.Color = vbWhite
Else
ovl.Interior.Color = vbGreen
ovl.Font.Color = vbBlack
End If
Next ovl
End Sub
Which arrows?
ASKER
So, I have arrows as opposed to Ovals on my spreadsheet, so where the code is changing the shape Oval, it needs to change the arrows on a sheet
Could you send a dummy
ASKER
Attached, thanks!
ss.xlsm
ss.xlsm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect, thanks Rgonzo!