Results 1 to 10 of 10

fill listbox (ActiveX) based combobox (ActiveX)

Threaded View

  1. #1
    Registered User
    Join Date
    09-29-2014
    Location
    brasil
    MS-Off Ver
    ms office 2010
    Posts
    56

    fill listbox (ActiveX) based combobox (ActiveX)

    how fill listbox (ActiveX) based combobox (ActiveX)
    Private Sub ComboBox1_Change()
    
    Dim c As Variant
    
        With Worksheets("Dados")
            c = Application.Match(ComboBox1.Value, .Range("A1:D1000"), 0)
        
            If Not IsError(c) Then
                ListBox1.List = .Range(.Cells(2, c), .Cells(Rows.Count, c).End(xlUp)).Value
            End If
        End With
    
    End Sub
    i need choise value in combobox (ActiveX), then listbox (ActiveX) show data from tab "OrigData"
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. combobox activex fill
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2014, 11:15 PM
  2. Change a combobox (activex control) based on another cell?
    By shiftyspina in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-11-2013, 11:32 AM
  3. How to fill an activex combobox with a data validation list?
    By Sape in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2013, 04:45 PM
  4. [SOLVED] limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listbox
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2013, 10:49 AM
  5. ActiveX ComboBox: Almost there!!!
    By akexcel in forum Excel General
    Replies: 2
    Last Post: 10-23-2006, 01:09 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