+ Reply to Thread
Results 1 to 2 of 2

Selecting an area of sheet and removing all pictures

  1. #1
    Registered User
    Join Date
    03-05-2006
    Posts
    28

    Question Selecting an area of sheet and removing all pictures

    As the title says

    I have a sheet which generates pictures at various intervals which are the tops of pages.

    After using once and running again the pictures are still there and more are created on to of these.

    Is there any code you can use which can select say A1 to J100 and delete all text and pictures in 1.
    This is because You would not know what the pictures are called as it is the same thing repeating its self

    Thanks
    Warren

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

    This macro will delete all pictures it finds in the given Range. Add a Standard VBA Module to your Workbook and then copy and paste the macro code into it.

    Please Login or Register  to view this content.
    Example:
    DeletePic Worksheets("Sheet1").Range("A1:J100")

    Sincerely,
    Leith Ross

+ 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