Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
查看: 2040|回复: 3

[已解决]自动化错误?

[复制链接]
发表于 2014-5-19 09:26 | 显示全部楼层 |阅读模式
本帖最后由 eikok 于 2014-5-19 14:49 编辑

自动化错误?.rar
2个表取数自动化错误?
最佳答案
2014-5-19 09:39
  1.     [c2].CopyFromRecordset cnn.Execute("select * from [2013级$b:b]")
  2.     [e2].CopyFromRecordset cnn.Execute("select * from [2013级$c:c]")
  3.     [h2].CopyFromRecordset cnn.Execute("select * from [2013级$d:d]")
  4.     [m2].CopyFromRecordset cnn.Execute("select * from [2013级$e:e]")
复制代码

自动化错误?.rar

21.7 KB, 下载次数: 11

发表于 2014-5-19 09:37 | 显示全部楼层
回复

使用道具 举报

发表于 2014-5-19 09:38 | 显示全部楼层
回复

使用道具 举报

发表于 2014-5-19 09:39 | 显示全部楼层    本楼为最佳答案   
  1.     [c2].CopyFromRecordset cnn.Execute("select * from [2013级$b:b]")
  2.     [e2].CopyFromRecordset cnn.Execute("select * from [2013级$c:c]")
  3.     [h2].CopyFromRecordset cnn.Execute("select * from [2013级$d:d]")
  4.     [m2].CopyFromRecordset cnn.Execute("select * from [2013级$e:e]")
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )

GMT+8, 2024-4-19 13:54 , Processed in 0.338265 second(s), 10 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表