Greetings ~
The below code works great as long as there is more than one row of data to populate the List.
However to insure accurate results when there is only one row of data to populate I use the following and get a "Could Not Set The List Property. Invalid Property Array Index"
Thank You for any assistance
RT91
The below code works great as long as there is more than one row of data to populate the List.
Code:
CmbCallRsn.List = Ws1.Range("A2:A" & Lr).Value
However to insure accurate results when there is only one row of data to populate I use the following and get a "Could Not Set The List Property. Invalid Property Array Index"
Code:
If Lr = 2 Then
CmbCallRsn.List = Ws1.Range("A2").Value
Else
CmbCallRsn.List = Ws1.Range("A2:A" & Lr).Value
End If
Thank You for any assistance
RT91