Hi Beginner,
Try the following syntax, run from the Sheet module.
Private Sub CommandButton1_Click() ComboBox1.Clear For Each cel In Range("Test1") ComboBox1.AddItem cel Next End Sub
Hi Beginner,
Try the following syntax, run from the Sheet module.
Private Sub CommandButton1_Click() ComboBox1.Clear For Each cel In Range("Test1") ComboBox1.AddItem cel Next End Sub
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'