+ Reply to Thread
Results 1 to 2 of 2

Dynamic Picture Viewer

  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    St. Petersburg
    MS-Off Ver
    Excel 2010
    Posts
    74

    Dynamic Picture Viewer

    Hi,

    I have a list of image file names (minus the extensions) in column A and an Image ActiveX control embedded on Sheet1. Could you help me with a code that would access and display the images? For instance, when a cell in column A containing "Image1" is selected, Excel should access "c:\images\Image1.gif" and display it in the Image ActiveX control.

    All images are gif files and all are stored in c:\images\.

    ______
    Question also posted here.
    Last edited by Saighead; 05-06-2019 at 08:32 AM.

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Dynamic Picture Viewer

    I've create something like below, and it works for me:

    Put into Sheet code:

    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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] Command button brings up picture viewer instead of running macro.
    By Epscan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2015, 10:39 AM
  2. Dynamic Picture Viewer
    By praveen.991 in forum Excel General
    Replies: 1
    Last Post: 04-11-2013, 10:22 AM
  3. dynamic picture embedding
    By addysdddy in forum Excel General
    Replies: 5
    Last Post: 06-14-2012, 10:25 AM
  4. Cannot open image in Windows Picture and Fax Viewer
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2011, 03:03 AM
  5. Replies: 1
    Last Post: 07-01-2011, 06:43 PM
  6. Replies: 3
    Last Post: 09-15-2010, 12:00 PM
  7. open gif with picture and fax viewer from Excel
    By Mjski in forum Excel General
    Replies: 0
    Last Post: 02-23-2005, 08:06 PM

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