Results 1 to 2 of 2

How to reference a second Combo box’s output based on previous Combo Box’s Row source

Threaded View

subbby How to reference a second... 08-28-2012, 11:07 AM
subbby Re: How to reference a second... 08-28-2012, 11:27 AM
  1. #1
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    How to reference a second Combo box’s output based on previous Combo Box’s Row source

    Hi all,

    I am looking for a way to reference a combox2 's output (which shall be a range of values pulled up from Sheet1) ; based on the combobox1's row-source and not combobox1's values

    My attempt:

    Private Sub OKOK_Click()
    If vendor_part1.Value = True Then
    
    ComboBox1.RowSource = ("Couplings")
    ' Couplings are a range of values from my sheet
    Else
    ComboBox1.RowSource = ("Mumblings")
    ' Mumlings are a range of values from my sheet
    End If
    
    
    End Sub
    --------------------------------------------
    Private Sub Typeofmanual_Click()
    If ComboBox1.RowSource = ("Couplings") Then
    
    txtbx_typeofmanual.RowSource = ("Typeofmanual")
    
    'type of manual is a range of values that I named it that way.
    
    End If
    
    
    End Sub
    --------------------------------

    See attachment if necessary
    Attached Images Attached Images
    Last edited by subbby; 09-04-2012 at 02:36 PM.

Thread Information

Users Browsing this Thread

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

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