This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 我在excel做了一个宏,大概要执行2个小时,现在发现单步执行肯定正确,而如果让程序自己做,3次当中有2次会在中间自己停下来,没有报任何错误。程序也主要是通过odbc去取一个数据库的东西,然后计算,然后读写文件,形成一个sheet。
不知道是什么原因
曾经想到过是不是程序执行过程中,我切换到那个窗口,不小心碰了什么键?但我也有封锁用户操作的代码,不知道以下代码是否真的全面封锁了用户的中断
Application.ScreenUpdating = False
Application.PromptForSummaryInfo = False
Application.DisplayStatusBar = True
Application.StatusBar = False
Application.Cursor = xlWait
谢谢
-oceandeep(北极熊® Zzz Zzz);
2002-9-23
{446}
(#762848@0)
-
Is it data related?
-warhook(likeplay);
2002-9-23
(#762850@0)
-
什么data related?
-oceandeep(北极熊® Zzz Zzz);
2002-9-23
(#762861@0)
-
Does the data cause the problem?
-warhook(likeplay);
2002-9-23
(#762864@0)
-
如果是数据连接的问题的话,它是否应该报错呢?
-oceandeep(北极熊® Zzz Zzz);
2002-9-23
(#762873@0)
-
check email.
-henhen(哼哼~~,找工ing~~~~);
2002-9-23
(#762869@0)
-
up
-oceandeep(北极熊® Zzz Zzz);
2002-9-23
(#763164@0)
-
you are supposed to have settled it out. @_@
-henhen(哼哼~~,找工ing~~~~);
2002-9-23
(#763190@0)
-
没事多问问,问一点,就多懂一点 :)
-oceandeep(北极熊® Zzz Zzz);
2002-9-23
(#763231@0)
-
@_@
-henhen(哼哼~~,找工ing~~~~);
2002-9-23
(#763241@0)