類模塊命名,我有拆分數組作爲輸入參數
Private pARRactivityPred() As String
Public Property Let predArray(Value() As String)
pARRactivityPred = Value
End Property
,把它:
record.predArray = Split(string1, ",")
但是,我不知道爲什麼我得到以下錯誤:
"Compile error: Definitions of property procedures for the same property are inconsistent, or property procedure has an optional parameter, a ParamArray, or an invalid set or final parameter"
有誰知道最近怎麼回事?
http://www.cpearson.com/excel/classes.aspx –