I'm trying to what I assumed would be a simple task, based on the fact that I've done very similar things in the past, but is coming up with an error I can't figure out. I have a combobox which I fill from a dynamic named range. When I select an item in the combobox, I want it to iterate through that range and then put the data from the next column into a text box.
I get the generic Run-time error '1004': Application-defined or object-defined error on the bolded line of code. (This happens on the first iteration through the loop.)
CurRow is set to 2 and CurCol is set to 1, which is the correct location for the first row of the cell. I'm sure the range is setup correctly because the combobox populates from it using the RowSource property and PartList is definitely the correct name for the sheet.
What am I missing that could be causing this error?
![]()
Please Login or Register to view this content.
Bookmarks