使用Excel VBA删除图片
问题描述:
如何删除Excel 2007工作表中的所有图片?一个有效的代码示例将是很棒的.
How do I delete all the pictures in an Excel 2007 worksheet? A working code example would be great.
答
Dim shape As Excel.shape
For Each shape In ActiveSheet.Shapes
shape.Delete
Next