M
maydelis
i am stuck please help me
i have this code for excel to make pictures appear when using dropdown list
but it only allows one colum at a time please help see is we can make it work
in more
this is the code :
Public Sub Worksheet_Calculate()
Dim oPic As Picture
Me.Pictures.Visible = False
With Range("A3")
For Each oPic In Me.Pictures
If oPic.Name = .Text Then
oPic.Visible = True
oPic.Top = .Top
oPic.Left = .Left
Exit For
End If
Next oPic
End With
End Sub
i have this code for excel to make pictures appear when using dropdown list
but it only allows one colum at a time please help see is we can make it work
in more
this is the code :
Public Sub Worksheet_Calculate()
Dim oPic As Picture
Me.Pictures.Visible = False
With Range("A3")
For Each oPic In Me.Pictures
If oPic.Name = .Text Then
oPic.Visible = True
oPic.Top = .Top
oPic.Left = .Left
Exit For
End If
Next oPic
End With
End Sub