Results 1 to 2 of 2

Images not showing up in Image ComboBox

Threaded View

  1. #1
    Registered User
    Join Date
    11-01-2021
    Location
    Wisconsin, United States
    MS-Off Ver
    MS Office 365
    Posts
    8

    Images not showing up in Image ComboBox

    Hello,

    I'm currently struggling to have images show up on an Image Combobox. The code I'm using hasn't given me any errors so I'm not sure what else I should do?

    Private Sub UserForm_Initialize()
    
    With Me.ImageList3.ListImages
    
        .Add , "img1", LoadPicture("C:\Users\main\Desktop\Chains\882.jpg")
        .Add , "img2", LoadPicture("C:\Users\main\Desktop\Chains\1001.jpg")
        .Add , "img3", LoadPicture("C:\Users\main\Desktop\Chains\1060.jpg")
        .Add , "img4", LoadPicture("C:\Users\main\Desktop\Chains\1505.jpg")
        .Add , "img5", LoadPicture("C:\Users\main\Desktop\Chains\8505.jpg")
    
    
    End With
    
    With Me.ImageCombo1
    
     .ImageList = ImageList3
        .ComboItems.Add , , "882", img1
        .ComboItems.Add , , "1001", img2
        .ComboItems.Add , , "1060", img3
        .ComboItems.Add , , "1505", img4
        .ComboItems.Add , , "8505", img5
        
    End With
    
    End Sub
    Last edited by Isaacv22; 03-20-2022 at 11:09 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Combobox drop down not showing attached to combobox
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-21-2020, 01:48 AM
  2. Image viewer with images control
    By 1912dummy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2020, 12:28 PM
  3. image array, referencing images
    By col12345 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-10-2014, 04:47 PM
  4. Populate Images on Userform Image
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2014, 02:10 AM
  5. Image in Header - without external images
    By astjohn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2009, 11:10 AM
  6. [SOLVED] 1 image printing as 2 images
    By working in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-21-2006, 05:15 PM
  7. 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

Tags for this Thread

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