+ -
当前位置:首页 → 问答吧 → 在VB中把EXCEL 当成数据操作

在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 数量
大侠们给个思路 ,如何有相关代码更好。。谢谢。。

作者: riskyvall1   发布时间: 2011-11-01

沒人來 自己頂過 大俠去那了啊

作者: riskyvall1   发布时间: 2011-11-01

發了這麼, 還沒人來 看來無望了 還是靠自己啊 。

作者: riskyvall1   发布时间: 2011-11-01