Delete All Shapes from the whole workbook using macro

30/06/2015 § Leave a comment

Sub Del_All_Shapes_WB()
Dim shp As Shape
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
For Each shp In ws.Shapes
shp.Delete
Next shp
Next ws
End Sub

_________
Source
http://www.mrexcel.com/forum/excel-questions/702797-delete-all-shapes-whole-workbook-using-macro.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Delete All Shapes from the whole workbook using macro at RheXenoR.

meta

%d bloggers like this: