Dim myShapes2 As Shape
Dim lrow5 As Long
lrow5 = Cells(Cells.Rows.Count, "F").End(xlUp).Row
Dim rng5 As Range, cell5 As Range
Set rng5 = Range("F2:F" & lrow5)
For Each cell5 In rng5
cell5.NumberFormat = "0"
If cell5.Value < 0 Then
For Each myShapes2 In ActiveSheet.Shapes
Debug.Print myShapes2.Name
myShapes2.Visible = msoTrue
Next myShapes2
MsgBox "No Negative Numbers"
Exit Sub
Exit For
Next cell5
|