M
Michael Beckinsale
Hi All,
Is it possible to use a named range as the RowSouce property of a ComboBox
in VBA ?
If so what is the code?
I think it should be something along the lines:
Private Sub UserForm_Initialize()
With frmHR
cbxGrade.RowSource = "ActiveWorkbook.Names Name:="Grades""
End With
End Sub
I need to use named ranges as the source list is dynamic and l dont want
blanks and therefore cannot use the whole column as a RowSource reference.
All help gratefully received
Regards
Michael beckinsale
Is it possible to use a named range as the RowSouce property of a ComboBox
in VBA ?
If so what is the code?
I think it should be something along the lines:
Private Sub UserForm_Initialize()
With frmHR
cbxGrade.RowSource = "ActiveWorkbook.Names Name:="Grades""
End With
End Sub
I need to use named ranges as the source list is dynamic and l dont want
blanks and therefore cannot use the whole column as a RowSource reference.
All help gratefully received
Regards
Michael beckinsale