Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Problems with ClearContents in Excel 2003

Help! When using Excel 2003, it takes a very long time for me to
clear the contents of a large number of cells. The delay occurs
whether I clear the contents manually in Excel, or within a VBA macro.
This problem began several weeks ago and has persisted. For example,
when I clear 20,000 rows in a moderately large workbook (12Meg) it
takes 10 minutes. I ran the same macro on a co-workers computer (exact
same workbook) and it took less than 0.2 seconds. I reinstalled Office
2003 and this did not help (no impact)

This is driving me crazy.... I have an up to date computer (2 meg
memory) and I am using XP pro... have disabled Google desktop (no
impact), and have very little unusual on my machine.

one possible clue... when I use a macro that clears, say, 100 rows at
a time, and set a timer, the length of time it takes to perform the
clearcontents function increases with each subsequent call. For
example the first 100 rows takes 0.3 seconds.. the next 100 rows takes
0.6 seconds, and so on.

Any suggestions will be greatly appreciated.
....Rick

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Problems with ClearContents in Excel 2003

Did you run disk clean up and defrag? It takes a few minutes to run these
but it could help speed up your execution time considerably if you have never
run them before. They clear your temp cache files and compact your other
files. You access them through Control Panel.

" wrote:

Help! When using Excel 2003, it takes a very long time for me to
clear the contents of a large number of cells. The delay occurs
whether I clear the contents manually in Excel, or within a VBA macro.
This problem began several weeks ago and has persisted. For example,
when I clear 20,000 rows in a moderately large workbook (12Meg) it
takes 10 minutes. I ran the same macro on a co-workers computer (exact
same workbook) and it took less than 0.2 seconds. I reinstalled Office
2003 and this did not help (no impact)

This is driving me crazy.... I have an up to date computer (2 meg
memory) and I am using XP pro... have disabled Google desktop (no
impact), and have very little unusual on my machine.

one possible clue... when I use a macro that clears, say, 100 rows at
a time, and set a timer, the length of time it takes to perform the
clearcontents function increases with each subsequent call. For
example the first 100 rows takes 0.3 seconds.. the next 100 rows takes
0.6 seconds, and so on.

Any suggestions will be greatly appreciated.
....Rick


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Problems with ClearContents in Excel 2003

Thanks for the reply

I do run both of those programs fairly regularly. I do quite a lot of
intensive calculation and so I generally pay close attention to
performance issues, and I don't think that is it. However, I am not
sure I have run them since the clearcontents issue emerged and so I
will do that.




On Sep 5, 6:50 pm, JLGWhiz wrote:
Did you run disk clean up and defrag? It takes a few minutes to run these
but it could help speed up your execution time considerably if you have never
run them before. They clear your temp cache files and compact your other
files. You access them through Control Panel.



" wrote:
Help! When using Excel 2003, it takes a very long time for me to
clear the contents of a large number of cells. The delay occurs
whether I clear the contents manually in Excel, or within a VBA macro.
This problem began several weeks ago and has persisted. For example,
when I clear 20,000 rows in a moderately large workbook (12Meg) it
takes 10 minutes. I ran the same macro on a co-workers computer (exact
same workbook) and it took less than 0.2 seconds. I reinstalled Office
2003 and this did not help (no impact)


This is driving me crazy.... I have an up to date computer (2 meg
memory) and I am using XP pro... have disabled Google desktop (no
impact), and have very little unusual on my machine.


one possible clue... when I use a macro that clears, say, 100 rows at
a time, and set a timer, the length of time it takes to perform the
clearcontents function increases with each subsequent call. For
example the first 100 rows takes 0.3 seconds.. the next 100 rows takes
0.6 seconds, and so on.


Any suggestions will be greatly appreciated.
....Rick- Hide quoted text -


- Show quoted text -



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
Having Problems Excel 2003 BJ&theBear Excel Discussion (Misc queries) 3 March 24th 10 12:30 PM
A set of Excel 2003 problems RST Engineering New Users to Excel 2 January 22nd 10 03:27 AM
Problems with Excel 2003 Maria Consuelo Setting up and Configuration of Excel 0 September 15th 05 03:11 PM
Problems in Excel 2003 Marc (NL) Excel Programming 2 April 6th 05 12:45 PM
problems with XML XSL and Excel 2003 Aliza Excel Programming 0 December 14th 04 07:55 PM


All times are GMT +1. The time now is 05:07 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"