Patriot2879
Well-known Member
- Joined
- Feb 1, 2018
- Messages
- 1,259
- Office Version
- 2010
- Platform
- Windows
Hi please can you help I have a combobox with a dropdown in sheet1, the data I want it to list is in sheet2 G2 to last row, please can you look at my code below and advise how to correct it. thanks again
HTML:
Private Sub Workbook_Open()
With Sheet1.ComboBox1
ComboBox1.RowSource = ("Sheet2")
ComboBox1.List = .Range("G2:G" & .Range("G" & Rows.Count).End(xlUp).Row).Value
End Sub