+ Reply to Thread
Results 1 to 3 of 3

Lookup Images with VBA

  1. #1
    Registered User
    Join Date
    08-25-2009
    Location
    Ontario, CA
    MS-Off Ver
    Excel 2007
    Posts
    24

    Lookup Images with VBA

    This issue is linked to a previos thread "Lookup Images with VBA", but I suspect the issue is related to the 2007 version of Excel I'm using now.

    Basically, we have a couple of Image controls (=EMBED("Forms.Image.1","")), that are supposed to get updated when the pull down menu above it makes a selection. In the attachement, tab "Controls" has the sample controls. This sheet also has code written to it.

    The only other code I have is stored in Module11 and it is called Paste Picture.

    I was getting Run-Time error 1004 but there is code written to handle the 1004 error....so it now reads "The Picture '" & DoorPic & "' was Not Found."

    Also, I needed to save this in a macro-enabled format.
    Attached Files Attached Files

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

    Re: Lookup Images with VBA

    The images are not on the same sheet as the list of names, which is what you code implied.

    try
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-25-2009
    Location
    Ontario, CA
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Lookup Images with VBA

    BINGO!!!

    Case Closed.

+ 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