+ Reply to Thread
Results 1 to 4 of 4

Deleting large amount of shapes

  1. #1
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Deleting large amount of shapes

    I am trying to delete large amount (up to 20k) of different shapes in one wrksheet.
    Traditional ActiveSheet.Shapes.SelectAll does not work sufficient an via this method it takes 10+ minutes.
    Selecting and deleting one-by-one via loop is also not comfortable and in 5cases of 10, excel fall down.
    Do anyone have a suggestion how to solve it?
    thnx

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Deleting large amount of shapes

    Try this code

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Deleting large amount of shapes

    Thank You my friend... works perfectly... less than 1 min...
    BR
    M

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Deleting large amount of shapes

    Miroslav,
    You are welcome!
    Could you please now close (Mark) this thread as solved? Go in to the top right-hand side of this page, choose "Thread Tools" from the menu, then select "solved" from the drop down menu.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1