本例子下载地址:http://download.youkuaiyun.com/source/334323
使用步骤:
1、注册控件ReportX.ocx(本压缩包内不包含ReportX.ocx,如果需要请到http://download.youkuaiyun.com/source/275430下载)
代码:
Private Sub AppendCol_Click()
ReportX1.AppendCol 1
End Sub
Private Sub AppendRow_Click()
ReportX1.AppendRow 1
End Sub
Private Sub Copy_Click()
Dim SelectMinx As Long
Dim SelectMiny As Long
Dim SelectMaxx As Long
Dim SelectMaxy As Long
ReportX1.GetSelectCell SelectMinx, SelectMiny, SelectMaxx, SelectMaxy
ReportX1.CopyCell SelectMinx, SelectMiny, SelectMaxx, SelectMaxy
End Sub
Private Sub Cut_Click()
Dim Select
ReportX实例(3)VB代码展示

这是一个关于如何在VB中使用ReportX控件进行数据操作的实例,包括添加列、添加行、复制、剪切和删除列及行的详细步骤。用户可以下载相关代码和控件进行实践。
最低0.47元/天 解锁文章
2128





