+ Reply to Thread
Results 1 to 6 of 6

delete all pictures in a worksheet

  1. #1
    Registered User
    Join Date
    01-23-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    12

    delete all pictures in a worksheet

    How can I use vba do delete all the pictures in a worksheet? Sometimes I have to cut and paste long lists from the internet and there is a picture next to each piece of the list. How can I get rid of all of them? I know I can just paste special and do text, but I would like to know how to get rid of all the pictures using a macro.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: delete all pictures in a worksheet

    Is this a cross post. If it is please add the link

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-23-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: delete all pictures in a worksheet

    Yea, it is.

    Here's the link to my other post:

    http://www.mrexcel.com/forum/showthread.php?t=367263

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: delete all pictures in a worksheet

    Hello toddgak,

    Here is a macro to delete the all the pictures on the active worksheet.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: delete all pictures in a worksheet

    ... or
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: delete all pictures in a worksheet

    If you don't want to use a macro in Excel 2007, just press F5, press "special", select "objects", and press "okay". All the pictures should now be selected. Just press "delete" now.

+ 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