I received the same error message: "Error This key is already associated with an item in this collection." In my case, the problem was that I had this:
'assign values to properties Property Let EmployeeName(Valor As String) m_employeename = Valor End Property Property Let EmployeeID(Valor As String) m_employeename = Valor End Property
I should have this:
'assign values to properties Property Let EmployeeName(Valor As String) m_employeename = Valor End Property Property Let EmployeeID(Valor As String) m_employeeid = Valor End Property
Perhaps you just need to double check your Property Let code to see if you use the appropriate names for those variables that are private in your class.
Jaime montoya
source share