Deleting pictures with Excel VBA

后端 未结 3 1165
鱼传尺愫
鱼传尺愫 2021-01-17 13:46

How do I delete all the pictures in an Excel 2007 worksheet? A working code example would be great.

3条回答
  •  清歌不尽
    2021-01-17 14:28

    Dim shape As Excel.shape
    
    For Each shape In ActiveSheet.Shapes
            shape.Delete
    Next
    

提交回复
热议问题