Hi,
I need to merge these two to run under the same code but i'm not sure...
Private Sub Worksheet_Calculate()
Dim oPic As Picture
Me.Pictures.Visible = False
With Range("A6")
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
And
Private Sub Worksheet_Calculate()
With Range("I3")
ActiveSheet.Shapes("LINEG").Visible = IIf(Len(.Value) = 0 Or .Value = 0, False, True)
End With
End Sub
Anyone help? Many Thanks...
I need to merge these two to run under the same code but i'm not sure...
Private Sub Worksheet_Calculate()
Dim oPic As Picture
Me.Pictures.Visible = False
With Range("A6")
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
And
Private Sub Worksheet_Calculate()
With Range("I3")
ActiveSheet.Shapes("LINEG").Visible = IIf(Len(.Value) = 0 Or .Value = 0, False, True)
End With
End Sub
Anyone help? Many Thanks...