0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

テスト110

Posted at

Public Sub Search_Image()

Dim obj As Variant

With ThisWorkbook.Sheets("テストA")

    For Each obj In .Shapes
    
        If obj.Type = msoPicture Then
            'シート内にあるオブジェクトが画像であれば終了
            MsgBox obj.Name
            Exit Sub
            
        End If
    
    Next obj
    
End With

End Sub
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?