+ Reply to Thread
Results 1 to 4 of 4

Display Picture in Userform

  1. #1
    Registered User
    Join Date
    06-03-2011
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    46

    Display Picture in Userform

    Hello, I want to display Picture from Sheet1 (Pictures2) to Userform1 in Image1
    My Pictures in Sheet1 Name Picture 2 and i want to display this in Userform Images1

    I've tried something like this

    Please Login or Register  to view this content.
    but not working
    I want to do this because Picture 2 in Sheet1 is Linked Picture from sheet2

    Thanks.
    Last edited by johan12; 01-25-2014 at 10:33 AM.

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Display Picture in Userform

    Maybe..

    This code create by Andy Pope
    Please Login or Register  to view this content.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Registered User
    Join Date
    06-03-2011
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Display Picture in Userform

    This not work my picture is in Sheets And picture name is "Picture 2"

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

    Re: Display Picture in Userform

    Use the PastePicture example for Stephen Bullen's site
    http://www.oaltd.co.uk/Excel/Default.htm

    If the picture is held in an ActiveX image control then you can use syntx similar to what you had.
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

+ 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 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
  2. Display Picture on userform on click
    By Benjamin2008 in forum Excel General
    Replies: 6
    Last Post: 12-19-2013, 05:41 AM
  3. [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
  4. [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
  5. Display a UserForm based on Data selected in another UserForm's ListBox
    By RPhilbin83 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-26-2011, 11:35 AM

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