Hello,
I am looking the way to select all the shapes present in a sheet.
Thx in advance,
David
Please Login or Register to view this content.
Hello,
I am looking the way to select all the shapes present in a sheet.
Thx in advance,
David
Please Login or Register to view this content.
Hello chibouki,
Your title says select, but your code is deleting the objects. This code will delete all shapes on the active sheet.
Sincerely,Please Login or Register to view this content.
Leith Ross
Thx,
I got a syntax error on the line I put in bold.
For the futur, would there be a way to specify the Shapes type? For example, deleting only the "Oval"?Please Login or Register to view this content.
Thx again,
David
There's a typo
Should bePlease Login or Register to view this content.
If your shapes are named Oval1, Oval2 etcPlease Login or Register to view this content.
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Another alternative
Please Login or Register to view this content.
This is great, I'm a beginner but needed to remove a ton of shapes that spread like a plague from constant copying and pasting and this did the trick. Thanks Leith Ross and royUK the code below worked a treat!
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks