+ Reply to Thread
Results 1 to 3 of 3

programmed removal of embedded pictures

  1. #1
    Valued Forum Contributor
    Join Date
    11-16-2004
    Location
    Devon UK
    MS-Off Ver
    2010
    Posts
    357

    programmed removal of embedded pictures

    Is it possible to export a number of pictures from a worksheet and name the files according to a filename in a cell.
    To explain more clearly I have a worksheet (a few hundred lines in length) into which someone has imported a picture for the item decribed on each line.
    Column A contains the part number of the item. The picture has been resized to fit over the cell in column D on each line. I would like to loop through each line and export each picture giving it a filename corresponding to the part number (and resizing it as well if possible). That way I can get the pictures out of the worksheet and reduce it's size (currently over 35MB) and be able to set up a hyperlink to the pictures stored in a folder.

    I think there must be a way of doing this and any help pointing me in the right direction would be much appreciated

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: programmed removal of embedded pictures

    Check out Stephen Bullen's PastePicture workbook. This has code that till allow you to copy picture to clipboard and then save contents to bmp file.

    http://www.oaltd.co.uk/Excel/Default.htm

    You can use the following in conjuction to export images
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Valued Forum Contributor
    Join Date
    11-16-2004
    Location
    Devon UK
    MS-Off Ver
    2010
    Posts
    357

    Re: programmed removal of embedded pictures

    Thank you for that Andy. I will follow that through and report back on success (or otherwise) :-)

+ 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