When changing the name of a class module, your should start the name with the prefix of "cls." DataSourceBehavior controls whether the class will act as a data source. To set the class as a data source, change DataSourceBehavior to "1 – vbDataSource"