Hi. I am trying to populate a combo box based on a field in a table. I am using the below code, but it is not populating. Any help is appreciated.
Code:
Private Sub DeptCombo_Change()
Dim ws, wsht As Worksheet
Dim rng As Range
'Populate Combo Box
Set ws = Sheets("Readiness_All")
Set wsht = Sheets("Dept_Selection")
Set rng = Range("Readiness[Department]")
wsht.DeptCombo.List = ws.rng.Value
End Sub