Dear Sirs
Please help to answer my question
my dynamic range for combobox is as below
It is work
but why I change my code to
It is not work.
I am very confusing about the root cause.
thank you for the time and knowledge
Please help to answer my question
my dynamic range for combobox is as below
Code:
Private Sub UserForm_activate()
Sheets("123").Range("B2", Sheets("123").Range("b2").End(xlDown)).Name = "Dynamic"
uf1.cb1.RowSource = "Dynamic"
End Sub
It is work
but why I change my code to
Code:
Private Sub UserForm_activate()
Sheets("123").Range("B2", Sheets("123").Range("b2").End(xltoRight)).Name = "Dynamic"
uf1.cb1.RowSource = "Dynamic"
End Sub
It is not work.
I am very confusing about the root cause.
thank you for the time and knowledge