+ -
当前位置:首页 → 问答吧 → 这段VBA代码转为delphi怎么写?

这段VBA代码转为delphi怎么写?

时间:2011-11-28

来源:互联网

Private Sub DoEnterKey()
  If TypeName(Selection) = "Range" Then
  If ActiveCell.Column < 256 Then
  If ActiveCell.Column = 1 Then
  ActiveCell.Offset(0, 4).Select
  Else
  If ActiveCell.Column = 14 Then
  ActiveCell.Offset(1, -9).Select
  Else
  ActiveCell.Offset(0, 1).Select
  End If
  End If
  End If
  End If
End Sub


作者: Chengs_bbs   发布时间: 2011-11-28

看起来像是用什么表格控件来的。

作者: 6rl   发布时间: 2011-11-29

热门下载

更多