I have 1 button and 2 combobox in ribbonui. I want to change the value of 2nd combobox when change event occurred in combobox1.
I tried findcontrol method
Dim comboBox As Object
Set comboBox = Application.CommandBars.FindControl(id:=cmbtype)
but always runtime error 438. can anyone help me on that.
New contributor
Nahid Hossain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.