在VB中把EXCEL 当成数据操作
时间:2011-11-01
来源:互联网
例如一个EXCEL表格里面有两个工作区 分别为X118 X119
X118 数据如下:
ItemNumber Model DueDate OrderQty UM
017E11960 PINOT 2011-11-7 150.00 PC
017E11960 PINOT 2011-11-14 150.00 PC
017E11960 PINOT 2011-11-21 120.00 PC
017E11960 PINOT 2011-11-28 150.00 PC
017E11960 PINOT 2011-12-5 150.00 PC
017E11960 PINOT 2011-12-12 150.00 PC
017E11960 PINOT 2011-12-19 150.00 PC
017E11960 PINOT 2011-12-26 144.00 PC
017E11960 PINOT 2012-1-2 96.00 PC
017E11960 PINOT 2012-1-9 128.00 PC
017E11960 PINOT 2012-1-16 65.00 PC
017E11960 PINOT 2012-1-30 120.00 PC
017E11960 PINOT 2012-2-6 120.00 PC
017E11960 PINOT 2012-2-13 123.00 PC
017E11960 PINOT 2012-2-20 120.00 PC
017E11960 PINOT 2012-2-27 112.00 PC
017E11960 PINOT 2012-3-5 99.00 PC
017E11960 PINOT 2012-3-12 100.00 PC
017E11960 PINOT 2012-3-19 100.00 PC
017E11960 PINOT 2012-3-26 100.00 PC
X119 数据如下:
ItemNumber Model DueDate OrderQty UM
017E11960 PINOT 2011-11-14 150.00 PC
017E11960 PINOT 2011-11-21 120.00 PC
017E11960 PINOT 2011-11-28 150.00 PC
017E11960 PINOT 2011-12-5 150.00 PC
017E11960 PINOT 2011-12-12 150.00 PC
017E11960 PINOT 2011-12-19 150.00 PC
017E11960 PINOT 2011-12-26 144.00 PC
017E11960 PINOT 2012-1-2 96.00 PC
017E11960 PINOT 2012-1-9 144.00 PC
017E11960 PINOT 2012-1-16 72.00 PC
017E11960 PINOT 2012-1-30 120.00 PC
017E11960 PINOT 2012-2-6 144.00 PC
017E11960 PINOT 2012-2-13 96.00 PC
017E11960 PINOT 2012-2-20 123.00 PC
017E11960 PINOT 2012-2-27 120.00 PC
017E11960 PINOT 2012-3-5 120.00 PC
017E11960 PINOT 2012-3-12 120.00 PC
017E11960 PINOT 2012-3-19 120.00 PC
017E11960 PINOT 2012-3-26 120.00 PC
017E12323 KISYU 2011-11-14 2838.00 PC
017E12323 KISYU 2011-11-21 3096.00 PC
017E12323 KISYU 2011-11-28 2941.00 PC
017E12323 KISYU 2011-12-5 3871.00 PC
请问如何对比这两个工作区的数据 ,同一个ItemNumber号码,对比相同一周内的不同OrderQty 数量
大侠们给个思路 ,如何有相关代码更好。。谢谢。。
X118 数据如下:
ItemNumber Model DueDate OrderQty UM
017E11960 PINOT 2011-11-7 150.00 PC
017E11960 PINOT 2011-11-14 150.00 PC
017E11960 PINOT 2011-11-21 120.00 PC
017E11960 PINOT 2011-11-28 150.00 PC
017E11960 PINOT 2011-12-5 150.00 PC
017E11960 PINOT 2011-12-12 150.00 PC
017E11960 PINOT 2011-12-19 150.00 PC
017E11960 PINOT 2011-12-26 144.00 PC
017E11960 PINOT 2012-1-2 96.00 PC
017E11960 PINOT 2012-1-9 128.00 PC
017E11960 PINOT 2012-1-16 65.00 PC
017E11960 PINOT 2012-1-30 120.00 PC
017E11960 PINOT 2012-2-6 120.00 PC
017E11960 PINOT 2012-2-13 123.00 PC
017E11960 PINOT 2012-2-20 120.00 PC
017E11960 PINOT 2012-2-27 112.00 PC
017E11960 PINOT 2012-3-5 99.00 PC
017E11960 PINOT 2012-3-12 100.00 PC
017E11960 PINOT 2012-3-19 100.00 PC
017E11960 PINOT 2012-3-26 100.00 PC
X119 数据如下:
ItemNumber Model DueDate OrderQty UM
017E11960 PINOT 2011-11-14 150.00 PC
017E11960 PINOT 2011-11-21 120.00 PC
017E11960 PINOT 2011-11-28 150.00 PC
017E11960 PINOT 2011-12-5 150.00 PC
017E11960 PINOT 2011-12-12 150.00 PC
017E11960 PINOT 2011-12-19 150.00 PC
017E11960 PINOT 2011-12-26 144.00 PC
017E11960 PINOT 2012-1-2 96.00 PC
017E11960 PINOT 2012-1-9 144.00 PC
017E11960 PINOT 2012-1-16 72.00 PC
017E11960 PINOT 2012-1-30 120.00 PC
017E11960 PINOT 2012-2-6 144.00 PC
017E11960 PINOT 2012-2-13 96.00 PC
017E11960 PINOT 2012-2-20 123.00 PC
017E11960 PINOT 2012-2-27 120.00 PC
017E11960 PINOT 2012-3-5 120.00 PC
017E11960 PINOT 2012-3-12 120.00 PC
017E11960 PINOT 2012-3-19 120.00 PC
017E11960 PINOT 2012-3-26 120.00 PC
017E12323 KISYU 2011-11-14 2838.00 PC
017E12323 KISYU 2011-11-21 3096.00 PC
017E12323 KISYU 2011-11-28 2941.00 PC
017E12323 KISYU 2011-12-5 3871.00 PC
请问如何对比这两个工作区的数据 ,同一个ItemNumber号码,对比相同一周内的不同OrderQty 数量
大侠们给个思路 ,如何有相关代码更好。。谢谢。。
作者: riskyvall1 发布时间: 2011-11-01
沒人來 自己頂過 大俠去那了啊
作者: riskyvall1 发布时间: 2011-11-01
發了這麼, 還沒人來 看來無望了 還是靠自己啊 。
作者: riskyvall1 发布时间: 2011-11-01
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28