I am creating a label printing app in excel. The user will pick the product from a dropdown menu which in turn will lookup values to fill Cells A1, B1 and C1 (either X or 0)
X means to show a diamond shape, 0 to hide it.
if I change the value manually, the diamond appears/disapears. If I use the dropdown menu, the formula changes values of cells A1, B1 an C1, but VB ignores the change. Any ideas? thank you.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row = 1 And Target.Column = 1 Then _
Me.Shapes("Diamond 1").Visible = (Cells(1, 1).Value = "x")
If Target.Row = 1 And Target.Column = 2 Then _
Me.Shapes("Diamond 2").Visible = (Cells(1, 2).Value = "x")
If Target.Row = 1 And Target.Column = 3 Then _
Me.Shapes("Diamond 3").Visible = (Cells(1, 3).Value = "x")
End Sub