countryfan_nt
Well-known Member
- Joined
- May 19, 2004
- Messages
- 765
Hello friends, hope all is well!
Please help me fix the below code; this line has an error:
Sheet2.Shapes("& Sheets("Report").Range("D4").Value&"")" & .Visible = True
Thank you very much in advance
Please help me fix the below code; this line has an error:
Sheet2.Shapes("& Sheets("Report").Range("D4").Value&"")" & .Visible = True
Thank you very much in advance
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("D4")) Is Nothing Then
Select Case Sheets("Report").Range("D4").Value
Case Sheets("Report").Range("D4").Value
Sheet2.Shapes("& Sheets("Report").Range("D4").Value&"")" & .Visible = True
End Select
End If
End Sub