+ Reply to Thread
Results 1 to 3 of 3

Shapes

  1. #1
    aftamath
    Guest

    Shapes

    Whats the VBA code to delete all the shapes on a worksheet?

  2. #2
    Registered User
    Join Date
    02-04-2004
    Posts
    23
    Sub deleteshapes()
    For Each shp In ActiveSheet.Shapes
    shp.Delete
    Next shp
    End Sub

  3. #3
    Bernie Deitrick
    Guest

    Re: Shapes

    Sub TryNow()
    Dim mySht As Worksheet
    Set mySht = ActiveSheet
    mySht.Shapes.SelectAll
    Selection.Delete
    End Sub

    --
    HTH,
    Bernie
    MS Excel MVP


    "aftamath" <[email protected]> wrote in message
    news:[email protected]...
    > Whats the VBA code to delete all the shapes on a worksheet?




+ 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