Hello all,
I need to populate a ComboBox in a UserForm by using VBA rather than referencing an range in excel. Referencing a range in Excel will not work for this project.
All the references I've found so far indicate that the following code should work; but I wind up with a Permission Denied error.
Me.cmbTransportReason.AddItem "Admission"
I've also tried the above with an "With" statment, but have the same result.
Thoughts anyone? This should be relatively simple!
ekongirl
I need to populate a ComboBox in a UserForm by using VBA rather than referencing an range in excel. Referencing a range in Excel will not work for this project.
All the references I've found so far indicate that the following code should work; but I wind up with a Permission Denied error.
Me.cmbTransportReason.AddItem "Admission"
I've also tried the above with an "With" statment, but have the same result.
Thoughts anyone? This should be relatively simple!
ekongirl