Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bin Bin is offline
external usenet poster
 
Posts: 1
Default Macro run much slower under VBA than in Excel

I have a macro that process a data sheet with more than
10000 rows data, create 6 new sheets and copy some data
from the data sheet to them respectively.
When the macro run in Excel, it will take less than 5
Secons. But when run it under a external VBA program, it
will take more than 100 seconds. I have set screenupdating
= false at begining and turn it on at the end, but no any
improvement. Anybody can figure what is the problem and
how to fix? or just improve?
Thanks.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is the first copy and paste into Excel 2007 getting slower? sandpip6 Excel Discussion (Misc queries) 8 June 29th 09 12:29 AM
macros making files slower and slower Raja Excel Discussion (Misc queries) 1 May 9th 08 12:26 AM
Excel 2003 Much Slower When Opening Row Groups KMH Excel Discussion (Misc queries) 3 September 6th 06 05:45 PM
Excel 2003 Slower then 2002 Alimak New Users to Excel 1 January 25th 06 03:06 PM
Subtotal seem slower in Excel 2003 ruffnro Excel Worksheet Functions 0 March 8th 05 07:07 PM


All times are GMT +1. The time now is 12:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"