设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: wang1950317
打印 上一主题 下一主题

[基础应用] 恳请老鬼版主看看Excel连接表数据转移问题!

[复制链接]
11#
发表于 2004-12-14 18:59:00 | 只看该作者
cause I found there were some sheets in OLE CALLING,see the code below

...

Debug.Print xlsApp.Workbooks.Count

...

the last one was the OLE OBJECT,others sheets were PERSONAL.XLS , XLA , XLL etc

but they were all unvisible 。

so i thought if this was the reason .

"All Were Unvisible " = "There Were No ActiveSheet" = "There Were No Current Sheet"

so we must gave the absolute reference of the sheet .

but i was puzzled why it was no error in the second try.

thanks.
12#
发表于 2004-12-14 19:05:00 | 只看该作者
cause I found there were some sheets in OLE CALLING,see the code below

...

Debug.Print xlsApp.Workbooks.Count

...

the last one was the OLE OBJECT,other sheets were PERSONAL.XLS , XLA , XLL etc

but they were all unvisible 。

so i thought if this was the reason .

"All Were Unvisible " = "There Were No ActiveSheet" = "There Were No Current Sheet"

so we must gave the absolute reference of the sheet .

but i was puzzled why it was no error in the second try.

thanks.
13#
发表于 2004-12-14 21:54:00 | 只看该作者
many tks. at least we know how to deal with it now.
14#
发表于 2004-12-15 06:08:00 | 只看该作者
熊版见笑了.本想用英文和熊兄交流一下,没成想不仅错发了两次,语法还有多个错误.惭愧!
15#
发表于 2004-12-16 17:02:00 | 只看该作者
No.I will often  make mistakes too. But My teacher tell me that making Mistakes is the necessary step to study a foreign language.[em04]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-5-21 21:54 , Processed in 0.082757 second(s), 27 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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