+ Reply to Thread
Results 1 to 6 of 6

Populate Images on Userform Image

  1. #1
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Populate Images on Userform Image

    Hi All

    i gone through google and i am unable to find the correct solution for my query.

    My query is, I have 100's of image and its extension is ".tif" and each image contains approxmaitely 5 to 10 and its not constant.

    and i want a text box there i will enter the number of image and that image should show on userform load image right down to that i want a label , that lable should show that image contains how many sub images and similarly i want next & previous button , when i click on next button then next page should show of that number only

    suppose i have enter this nbr : 999 and i hit show button then image will load on userform and in label caption will show 1 of 5 , next i will click on next button then label should show 2 of 5 and same time next image should dispaly

    hope i explained my query in understandable manner.

    Note: Sorry , but i cant attached the images its contain official information.
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Populate Images on Userform Image

    What you want to do isn't simple. Tifs are not natively supported, so you need to do some hacking around. Here's what I came up with, it requires far more resilience and testing but may serve as a proof of concept.
    Userform Code:
    Please Login or Register  to view this content.
    Module:
    Please Login or Register  to view this content.
    Last edited by Kyle123; 04-08-2014 at 10:55 AM.

  3. #3
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Populate Images on Userform Image

    Hi Kyle

    thanks for quick response, the solution u provide that extremely very nice i appreciate

    but that macro opening the windows image viewer, however i want the image should show on userform image event there only i can zoom in and zoom out and scroll up & down.

    So if possible can u look for this way, if its possible then its really extemely awesome ! , mean while i will use this macro.

    Once again thanks & waiting for your another reply....

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Populate Images on Userform Image

    The code *should* embed the image viewer in the user form - is that not working?

  5. #5
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Populate Images on Userform Image

    as of now i didnt test with the original Image files because that file there with my collegue.

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Populate Images on Userform Image

    Is that a yes or a no? I'm not sure what you mean
    Last edited by Kyle123; 04-10-2014 at 09:06 AM.

+ 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] VBA to transfer image FROM userform image control TO a worksheet cell
    By Zoediak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2014, 02:51 PM
  2. Image in Header - without external images
    By astjohn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2009, 11:10 AM
  3. 1 image printing as 2 images
    By working in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-21-2006, 05:15 PM
  4. Add Button Image to Default Images?
    By Kou Vang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2006, 03:55 PM
  5. Userform Image Control and embedded images
    By tim in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-05-2005, 09:06 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