I want to fill a ComboBox with a data of a column that is in a table of the PowerQuery. I tried this, but is not working:
Can someone help me, please?
VBA Code:
Private Sub UserForm_Initialize()
Me.ComboBox1.RowSource = Thisworkbook.Queries("Table1").Columns("Code").DataBody
End Sub
Can someone help me, please?