使用Excel VBA删除图片 [英] Deleting pictures with Excel VBA
本文介绍了使用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
这篇关于使用Excel VBA删除图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文