Greetings,
I am trying to use the following code to change the color of an autoshape depending upon the value in a cell that it is hyperlinked to. (Rectangle1 is hyperlinked to cell "C46") So if I click on Rectangle1, the cursor is moved to C46, where I type in my value. If the value is less than 601, I need rectangle1 to turn red. Right now nothing happens at all, no errors or anything.
Thanks for the help, I am still pretty much a noob, there is so much to learn...
I am trying to use the following code to change the color of an autoshape depending upon the value in a cell that it is hyperlinked to. (Rectangle1 is hyperlinked to cell "C46") So if I click on Rectangle1, the cursor is moved to C46, where I type in my value. If the value is less than 601, I need rectangle1 to turn red. Right now nothing happens at all, no errors or anything.
HTML:
With Worksheets("Inspection Sheet")
'Change autoshape color to red depending upon cell value
If .Range("C46").Value <= 600 Then
ActiveSheet.Shapes("Rectangle1").Fill.ForeColor.SchemeColor = 10
End If
End With
Thanks for the help, I am still pretty much a noob, there is so much to learn...