回复 2楼jleidong的帖子
Private Sub vssDetail_SubEditorOpening(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SubEditorOpeningEventArgs) Handles vssDetail.SubEditorOpening
If TypeOf (vssDetail.ActiveSheet.GetCellType(e.Row, e.Column)) Is FarPoint.Win.Spread.CellType.NumberCellType Then
'電卓の表示をキャンセルします
e.Cancel = True
End If
End Sub
已经搞定了,测试代码如上。 |