答案 0 :(得分:1)
你可以试试这个,我希望它对你有用。
Sub ImageNamesInCells()
Dim i As Integer
Dim actSheet As Worksheet
Dim aShape As Shape
Set actSheet = ActiveSheet 'or better ThisWorkBook.sheets("SheetName")
For Each aShape In actSheet.Shapes
oneShape.TopLeftCell = oneShape.Name 'assuming that TopLeftCell refers to the cell where the image is.
Next
End Sub
祝你好运!