ryancgarrett
Board Regular
- Joined
- Jun 18, 2011
- Messages
- 122
I'm trying to define the rowsource to populate a combobox on a form from a list in my workbook. However I can't manually input the range because the list is constantly being changed. Here is the code I am trying to use, which isn't working at all
Code:
Sub populateComboBox()
frmTransactionEntry.cbxAccount1.RowSource = Sheets("Chart of Accounts").Range("B3:B" & .End(xlUp).Row)
End Sub