+ Reply to Thread
Results 1 to 5 of 5

can this code copy instead of move

  1. #1
    Registered User
    Join Date
    05-16-2006
    Posts
    93

    can this code copy instead of move

    Hi,
    Can anybody assist me here pleeeease?
    Can this code be modified to copy pictures rather than move them?
    I want to keep them in a tidy library column A:A

    The workbook finds a picture based on the picklist, it is an example I found online but I need it to copy and paste the picture (and leave the original where it is).

    F1 cell
    =VLOOKUP(A2, PicTable, 2, FALSE) this is connected to a 2 column validation table called picTable that has names in the first column (values in the picklist) and picture names in the second column (which corrosponds to the actual picture names)

    Also, long after they have been copied, I need to clear all of what I have copied (with a macro button), but when I record a macro to do this it doesnt work because the copied "picture number' changes each time it is copied
    and the recorded macro only deletes the picture object number that I deleted when recording it!

    Please Login or Register  to view this content.

    Thanks

    Beatrice
    Last edited by VBA Noob; 12-03-2008 at 05:51 PM.

  2. #2
    Registered User
    Join Date
    05-16-2006
    Posts
    93

    Unhappy Any possibility of making this working

    Does anyone think this code can be modified or not?

  3. #3
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    The code makes the picture visible, can you post a sample workbook?
    Not all forums are the same - seek and you shall find

  4. #4
    Registered User
    Join Date
    05-16-2006
    Posts
    93

    I found this online

    Hi Simon,
    i found this example online but it would be better if it showed a copy of the picture rather than the picture itself.
    Once the picture is displayed I would prefer to manually delete it, therefore if I picked another picture from the picklist it would be ok if that went exactly on top of the one I had just picked

    Also it would be nice if the original pictures could be remained in a single organised column (perhaps on another sheet) as a sort of library rather than hidden away.


    I think this may all be too hard but if you can help I would appreciate it

    Thanks

    B
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-16-2006
    Posts
    93

    solved

    This problem has been solved, thanks for your interest and help
    B

+ 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