fboehlandt
Active Member
- Joined
- Sep 9, 2008
- Messages
- 334
Hello everyone,
I wóuld like to delete all freeforms in a spreadsheet. However, even the simple command prompt refering to a particular freeform that is in the sheet does not work. What am I doing wrong? Many thanks
I wóuld like to delete all freeforms in a spreadsheet. However, even the simple command prompt refering to a particular freeform that is in the sheet does not work. What am I doing wrong? Many thanks
Code:
Sub dshape()
Dim wb As Workbook
Dim ws As Worksheet
Set wb = ThisWorkbook
Set ws = wb.Sheets("Response_Q2")
ws.Shapes("Freeform 12").Delete
End Sub