Hi All,
I have 10 sheets in excel files and 4 are hidden and 6 unhidden.
Now I am looking for code which can delete all images and objects from specific range suppose(C3:L40) from all visible sheet.
Can anybody suggest me what modification required in below code.
I have 10 sheets in excel files and 4 are hidden and 6 unhidden.
Now I am looking for code which can delete all images and objects from specific range suppose(C3:L40) from all visible sheet.
Can anybody suggest me what modification required in below code.
Code:
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