Drawn Object Woes

  • Thread starter Thread starter Brian Matlack
  • Start date Start date
B

Brian Matlack

Hi!
Is there a way to know how many drawn objects there are in
spreadsheet?
Can I select multiple drawn objects and delete them in VBA?
Thanks
 
You can get the number of shapes using
.shapes.count
or
.drawingobjects.count

To delete all drawing objects use
sheetname.drawingobjects.delete

or loop through and just delete specific ones (in case you have buttons etc
you wish to keep).

Tim

--
Tim Williams
Palo Alto, CA


"Brian Matlack" <[email protected]>
wrote in message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top