+ Reply to Thread
Results 1 to 3 of 3

Userform:Is it possible to hide/display/change a picture on a userform determined by code?

  1. #1
    Forum Contributor
    Join Date
    05-12-2008
    Location
    Schleswig-Holstein, Germany
    MS-Off Ver
    2010
    Posts
    102

    Userform:Is it possible to hide/display/change a picture on a userform determined by code?

    ..For example, if within a combobox I choose an option, a picture will be shown on the user form. If I choose another different option, another different picture will be shown instead?
    Is that possible?

    Thanks for your help,
    Ruben

    24.05.png
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Userform:Is it possible to hide/display/change a picture on a userform determined by c

    To position the picture exactly you will have to use an Image control (these have limitations). You can load a picture using the Image Control LoadPicture Method. This take a fully qualified filename.

    As you have not given any specific details, outline code using the ComboBox Change event to load a picture
    Please Login or Register  to view this content.
    The Image control can be hidden/displayed as needed using the Visible property
    Last edited by cytop; 05-24-2016 at 05:00 AM.

  3. #3
    Forum Contributor
    Join Date
    05-12-2008
    Location
    Schleswig-Holstein, Germany
    MS-Off Ver
    2010
    Posts
    102

    Re: Userform:Is it possible to hide/display/change a picture on a userform determined by c

    Thanks Cytop,

    IŽll try it out later. for now I let this thread as "unsolved" in case some issues may arise later about this.

+ 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. Userform picture display on click event
    By nickarp2000 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2015, 06:15 AM
  2. [SOLVED] Using picture to display table from worksheet on userform; need help modifying picture
    By adamstarr12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2014, 10:34 AM
  3. Display Picture in Userform
    By johan12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2014, 08:04 AM
  4. UserForm help - display list of open workbooks except workbook userform code is in
    By kensweep in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-09-2014, 12:26 PM
  5. Display Picture on userform on click
    By Benjamin2008 in forum Excel General
    Replies: 6
    Last Post: 12-19-2013, 05:41 AM
  6. [SOLVED] display pdf in userform as a small picture in image box
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-28-2013, 06:17 AM
  7. [SOLVED] Help for repeat code (for display dinamic picture on userform)
    By johan12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2013, 12:39 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