gino59
Active Member
- Joined
- Jul 26, 2010
- Messages
- 496
Hi all!
I am trying to hide an autoshape based on a cell change. The cell change is caused by a combobox selection. If I manually type into the combobox's linked cell, the shape goes away. If I just have the combobox make the change to the cell value, the combobox stays visible.
What am I missing????
Many thanks as always!
Gino
I am trying to hide an autoshape based on a cell change. The cell change is caused by a combobox selection. If I manually type into the combobox's linked cell, the shape goes away. If I just have the combobox make the change to the cell value, the combobox stays visible.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Sheets("FrontPage").Range("L55").Value > _
Sheets("FrontPage").Range("L56").Value Then
ActiveSheet.Shapes("shpSTOP").Visible = True
Else
ActiveSheet.Shapes(shSTOP).Visible = False
End If
End Sub
What am I missing????
Many thanks as always!
Gino