在工程里声明了一个类模块叫ClsRecord
在另一个标准模块的函数里写到:
Public Function getRecord(num As Integer) As ClsRecord
     getRecord = New ClsRecord
End Function
执行时提示错误:
Run-time error'91':
Object variable or With block variable not set
这是怎么会使呀??????