Hit the debug in the VBE and see if it hilites anything. My next guess is that you do not have a reference to DAO (data access objects). In the class there is this line
Private mRsOriginalList As DAO.Recordset
If you do not have a reference to DAO, you will get that type of error.
This error can often be a spelling mistake or a reference issue
assume you meant to dimension a string, but typed
dim strSomeString as streng
since there is not datatype called streng it assumes you made a user defined datatype. Then it searches the rest of the code for a place where you define a streng datatype. But since you did not define a streng or intend to (only a spelling error) you get
user defined type not defined.
Some object definitions are contained in external libraries, and you have to add them with a reference. If the reference is not added it again assume you are using a user defined datatype.
So in truth it is a crappy message should say.
Dimensiond Data type is misspelled, or no reference added for data type, or user defined data type not defined. Check spelling, references, or define the data type.