Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Macro Slow In Execution Under Excel 2002

I have a macro which checks and deletes certain line of data depending on the
details they hold. At times, it could be deleting a few hundred lines.

When run under Excel 2000 or 2003, it completes in about 20 seconds.

However, it's almost "hanging" when run under Excel 2002.

This was zeroed in to a simple EntireRow.Delete command. It takes about 20
to 30 seconds to delete each line.

Different PCs and OSes were used with the same result.

Anyone knows if there's a bug in Excel 2002? and any solution to fix it?

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro Slow In Execution Under Excel 2002

It may be the printdriver. Do you have pagebreaks visible. If so, turn
them off in your macro and see if that helps.

--
Regards,
Tom Ogilvy

"samson" wrote in message
...
I have a macro which checks and deletes certain line of data depending on

the
details they hold. At times, it could be deleting a few hundred lines.

When run under Excel 2000 or 2003, it completes in about 20 seconds.

However, it's almost "hanging" when run under Excel 2002.

This was zeroed in to a simple EntireRow.Delete command. It takes about

20
to 30 seconds to delete each line.

Different PCs and OSes were used with the same result.

Anyone knows if there's a bug in Excel 2002? and any solution to fix it?

Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Macro Slow In Execution Under Excel 2002

Both pagebreak and display had been turned off with not noticeable difference.

The strange thing is that it only happen with Excel 2002 and not 2000 or 2003.

Regards.


"Tom Ogilvy" wrote:

It may be the printdriver. Do you have pagebreaks visible. If so, turn
them off in your macro and see if that helps.

--
Regards,
Tom Ogilvy

"samson" wrote in message
...
I have a macro which checks and deletes certain line of data depending on

the
details they hold. At times, it could be deleting a few hundred lines.

When run under Excel 2000 or 2003, it completes in about 20 seconds.

However, it's almost "hanging" when run under Excel 2002.

This was zeroed in to a simple EntireRow.Delete command. It takes about

20
to 30 seconds to delete each line.

Different PCs and OSes were used with the same result.

Anyone knows if there's a bug in Excel 2002? and any solution to fix it?

Thank you.




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
Excel to Powerpoint Slow Execution Francis de Brienne Excel Programming 6 September 3rd 04 08:59 PM
Extremely Slow VBA Execution Speed Joe Adams[_3_] Excel Programming 3 May 15th 04 01:23 AM
Macro speed - SLOW in 2002, FAST in '97?? ericafc Excel Programming 0 May 4th 04 03:47 PM
slow macro execution Vasile Dumitrescu Excel Programming 1 October 7th 03 03:31 PM


All times are GMT +1. The time now is 11:42 PM.

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"