+ Reply to Thread
Results 1 to 10 of 10

Raffle Draw: Dynamically changing the picture based on the formula

  1. #1
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Lightbulb Raffle Draw: Dynamically changing the picture based on the formula

    I want to randomly select a food on a list that changes when I press the go button and the picture that corresponds to the food will display

    I was able to accomplish that but however, I encounter a slight issue. When I press go for the next random food, it will display the last picture in half.

    How I can get rid or fix this behavior.

    please check my file.. Thank you.

    https://drive.google.com/file/d/0B0W...ew?usp=sharing


    Can't delete my post to the other forum:

    Here is the link:

    https://www.mrexcel.com/forum/excel-...d-formula.html
    Last edited by etuckram; 04-18-2017 at 05:23 PM.

  2. #2
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    anyone please?

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    Hi etukram

    It has to do with the interval of image views and dependent on speed of processor I think.
    On my pc it works fine if this code is brought back...Play around with your balance of sleep and Wait time
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    Have a look at this link....Excellent with clean code....Perfect for your requirement
    http://www.mcgimpsey.com/excel/lookuppics.html
    Last edited by sintek; 04-19-2017 at 11:40 AM.

  5. #5
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    Quote Originally Posted by sintek View Post
    Have a look at this link....Excellent with clean code....Perfect for your requirement
    http://www.mcgimpsey.com/excel/lookuppics.html
    That helped.. thank you!

  6. #6
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    Just a follow-up. it is possible to apply this on a userform? instead on running this on worksheet, the picture and the word will show on a user form

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    Sure it is possible. Will look into it in the morning..

  8. #8
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    here's where it is saved. save all the files in one folder.

    https://drive.google.com/drive/folde...Ek?usp=sharing

  10. #10
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Raffle Draw: Dynamically changing the picture based on the formula

    anyone please?

+ 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. Draw a line connector dynamically between 2 command buttons
    By appu_1984 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2014, 08:13 AM
  2. Replies: 3
    Last Post: 11-28-2013, 02:11 AM
  3. Dynamically Changing Rows Based On Cell Content
    By djbcktt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2013, 07:32 PM
  4. [SOLVED] Dynamically Changing Position of Pivot Based on Size of Another Pivot Table
    By ggilzow in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2013, 02:42 PM
  5. Calculating MEDIAN based on dynamically changing range
    By L.LEE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2013, 05:31 AM
  6. Replies: 3
    Last Post: 10-24-2012, 08:15 PM
  7. How draw x-y picture
    By ZPXY in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-12-2005, 08:30 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