I am completely new to VBA and am trying to create a user form that will fill-in TextBoxes dependent on the value of ComboBoxes.
We have a dozen or so separate workbooks which this form will be placed in for data entry purposes.
The source of the data ranges for the ComboBoxes and TextBoxes is being kept in a separate workbook for ease in updating and editing the data.
I am getting an error msg:
Run-time error '-2147352571 (80020005)':
"Could not set the property value. Type mismatch"
When I click on Debug this is the line that becomes highlighted:
I have tried everything I could find googling this error,
changing the ListItem As Variant, i As Integer to i As Variant;
taking out the ListItem As Variant, i As Integer line all together;
adding a line with Textbox() As Variant...(Like I said, I am extremely new to VBA)..
When I look at the cells in both excel sheets - the cells are all "formatted" as General, so I am not sure what their data type is ...?
I REALLY would appreciate any suggestions..... PLEASE HELP!!
This is my code -
Bookmarks