由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - excel macro running slow
相关主题
ARRAY BASIC,这种宏写的出来吗?question about excel and access
VBA新手请教简单EXCEL任务save a VBA macro in excel using vbscript (转载)
how to keep data integrity in excelEXCEL 问题.
Excel 2010 禁用排序按钮VB.NET转成VBA
delete sheets from Excel workbook in C# (转载)*********VBA Macro 打开 Excel 问题.***********
如何取出汉字的笔顺比划?诚心求助!(VBA for Excel)
How to write a VB Macro to convert text to hyperlink in Excel[求助] 哪位有Excel Macro VBA 教程一类的电子书啊
新手请教一个关于VB macro的问题Access, Excel macro 高手看过来
相关话题的讨论汇总
话题: macro话题: excel话题: slow话题: my话题: extremely
进入Programming版参与讨论
1 (共1页)
p****r
发帖数: 165
1
after run a macro in excel, if I rerun it, excel become extremely slow. I
have to close all my excel application and restart it. Then the speed come
back. Any suggestions?
only thing that I could think about is my macro creates about 20 workbooks..
S*********g
发帖数: 5298
2
Do you have a lot of formula or slow ones like vlookup in your workbooks?
If yes, you might want to consider stop automatic calculation in your macro
and turn it back on when the macro finishes.

..

【在 p****r 的大作中提到】
: after run a macro in excel, if I rerun it, excel become extremely slow. I
: have to close all my excel application and restart it. Then the speed come
: back. Any suggestions?
: only thing that I could think about is my macro creates about 20 workbooks..

p****r
发帖数: 165
3
thanks.
but why it only slow after I ran it once. If I open the excel the first
time and run it, it is very fast. then if I ran it 2nd time, it is extremely
slow. so I close all my excel workbook and reopen the one with macro, and
run the macro again, it is fast again. I thought it was something wrong with
my macro.
in normal speed, my macro run within 3 min. when it is slow, it ran 3 hours.

macro

【在 S*********g 的大作中提到】
: Do you have a lot of formula or slow ones like vlookup in your workbooks?
: If yes, you might want to consider stop automatic calculation in your macro
: and turn it back on when the macro finishes.
:
: ..

S*********g
发帖数: 5298
4
apparently, you did something wrong in your macro.

extremely
with
hours.

【在 p****r 的大作中提到】
: thanks.
: but why it only slow after I ran it once. If I open the excel the first
: time and run it, it is very fast. then if I ran it 2nd time, it is extremely
: slow. so I close all my excel workbook and reopen the one with macro, and
: run the macro again, it is fast again. I thought it was something wrong with
: my macro.
: in normal speed, my macro run within 3 min. when it is slow, it ran 3 hours.
:
: macro

1 (共1页)
进入Programming版参与讨论
相关主题
Access, Excel macro 高手看过来delete sheets from Excel workbook in C# (转载)
Excel Macro VBA求助如何取出汉字的笔顺比划?
macro and std:: function name clashingHow to write a VB Macro to convert text to hyperlink in Excel
师傅们,C++概念题,弟子有礼了新手请教一个关于VB macro的问题
ARRAY BASIC,这种宏写的出来吗?question about excel and access
VBA新手请教简单EXCEL任务save a VBA macro in excel using vbscript (转载)
how to keep data integrity in excelEXCEL 问题.
Excel 2010 禁用排序按钮VB.NET转成VBA
相关话题的讨论汇总
话题: macro话题: excel话题: slow话题: my话题: extremely