【发布时间】:2017-07-11 14:48:12
【问题描述】:
我有一个非常简单的类定义。 Sheetwriter 类定义如下:
Option Explicit
'Works off of the ActiveCell
'Helps you write data into the cells
Private pCornerCell As String
Public Property Get CornerCell()
CornerCell = pCornerCell
End Property
Public Property Let CornerCell(Value As String)
pCornerCell = Value
Range(Value).Select
End Property
我收到一个我不理解的编译错误。 同一属性的属性过程定义不一致,或者属性过程有可选参数。 我做错了什么?
【问题讨论】: