Mar 1, 2002 #1 hirenJ Programmer Dec 17, 2001 72 GB Hi all -- I have a combo Box that is based on a value list --i.e. its static -- how can I add another row to this comboBox at run-time in code? NB: The comboBox contains two columns... is this possible at runtime? cheers Hiren )
Hi all -- I have a combo Box that is based on a value list --i.e. its static -- how can I add another row to this comboBox at run-time in code? NB: The comboBox contains two columns... is this possible at runtime? cheers Hiren )
Mar 1, 2002 #2 jebry Programmer Aug 6, 2001 3,006 US Hi! Just add the information using the rowsource like this: Yourcombobox.RowSource = Yourcombobox.RowSource & ";" & FirstColumnInfo & ";" & SecondColumnInfo hth Jeff Bridgham bridgham@purdue.edu Upvote 0 Downvote
Hi! Just add the information using the rowsource like this: Yourcombobox.RowSource = Yourcombobox.RowSource & ";" & FirstColumnInfo & ";" & SecondColumnInfo hth Jeff Bridgham bridgham@purdue.edu
Mar 1, 2002 #3 matrixtech Programmer Dec 3, 2001 12 US I believe you could also do cboCombo.AddItem (Parameters). This way you wouldnt have to resize columns and add the same things back into the list Upvote 0 Downvote
I believe you could also do cboCombo.AddItem (Parameters). This way you wouldnt have to resize columns and add the same things back into the list
Mar 1, 2002 #4 jebry Programmer Aug 6, 2001 3,006 US Hi! VBA doesn't support the AddItem method, that is only in VB. Otherwise I would agree 100% Jeff Bridgham bridgham@purdue.edu Upvote 0 Downvote
Hi! VBA doesn't support the AddItem method, that is only in VB. Otherwise I would agree 100% Jeff Bridgham bridgham@purdue.edu