Excel vba: Property let procedure not defined and property get procedure did not return an object

前端 未结 3 1562
广开言路
广开言路 2021-01-23 12:02

I have a Client class. Inside that class there is an array losses. First I create and populate with clients a clientsColl array. Then for

3条回答
  •  甜味超标
    2021-01-23 12:34

    I also meet this problem when I create my customize array class using compound properties.

    I solved it by adding class statment for return value in Property Get code. Just as what @Rory said.

    You could try Public Property Get getLosses() As Double in the Client class.

提交回复
热议问题