+ Reply to Thread
Results 1 to 5 of 5

Macro to delete all pictures in one sheet

  1. #1
    Registered User
    Join Date
    01-21-2016
    Location
    South East
    MS-Off Ver
    2013
    Posts
    19

    Lightbulb Macro to delete all pictures in one sheet

    Hi guys,

    I need a macro that then triggered using a button, deletes all the pictures (that will be pasted in to that sheet) in one tab.

    There are 8 tabs, Pic 1 - Pic 8.

    Ideally I would like for users to be able to post multiple pictures in, but if the macro writing for this is not possible, I do not mind it just being one picture per tab.


    Thanks in advance,
    Henry
    Last edited by R1_Canuck; 03-24-2016 at 05:57 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Macro to delete all pictures in one sheet

    Look at this link on the subject: http://excelribbon.tips.net/T010037_...et_in_VBA.html

    and this one: http://stackoverflow.com/questions/4...with-excel-vba
    Last edited by alansidman; 03-24-2016 at 05:44 AM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Macro to delete all pictures in one sheet

    Hi Henry,

    Try this macro.
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    01-21-2016
    Location
    South East
    MS-Off Ver
    2013
    Posts
    19

    Re: Macro to delete all pictures in one sheet

    Hi MarvinP,

    That worked, with some amendments it ended up as:

    Please Login or Register  to view this content.

    Thanks very much to you both,

    Henry
    Last edited by alansidman; 03-24-2016 at 08:38 AM.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,858

    Re: Macro to delete all pictures in one sheet

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] delete all pictures in a sheet
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2016, 12:33 AM
  2. VBA delete all pictures in sheet
    By WackoV in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2013, 10:30 AM
  3. [SOLVED] Deleting all pictures on sheet but not macro buttons
    By simonsmith in forum Excel General
    Replies: 4
    Last Post: 05-04-2013, 11:22 AM
  4. Insert/Delete Multiple Pictures but 1 or more pictures not available
    By MrNoodles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2012, 02:10 PM
  5. [SOLVED] Macro To Delete Pictures or Autoshape
    By MikeTruth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2012, 08:22 AM
  6. delete pictures with a macro
    By Noel Rietman in forum Excel General
    Replies: 1
    Last Post: 03-20-2006, 12:50 PM
  7. [SOLVED] Macro to delete pictures ?
    By Steve in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-18-2005, 06:05 PM

Tags for this Thread

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