Answers for "vba get image file select"

VBA
0

vba code to select image in sheet

Sub SelectPictureAtActiveCell()
  Dim Pic As Shape
  For Each Pic In ActiveSheet.Shapes
    If Pic.TopLeftCell.Address = ActiveCell.Address Then
      If Pic.Type = msoPicture Then
        Pic.Select
        Exit For
      End If
    End If
  Next
End Sub
Posted by: Guest on January-08-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language