LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with a crashing Macro needed


Dear Forumites,

I am new here and just wanted to ask my first question. I am a Visua
Basic newbie, so it may be naive, but I couldn't find the answe
anywhere.

I have a datafile of approximately 28000 rows and 6 columns. I a
executing a macro on it, which is making some data analysis. It run
slowly, but it works until I add a formula to the last cell, wher
there is a sum of range from A1 to A30000. The summing crashes th
macro. When I remove the summing from the Macro and put the formula i
the cell manually, it takes forever to sum. However, when I create
new sheet within the SAME workbook and put the formula in the ne
sheet, it sums the column in a blink. What may cause the problem? Ho
can I get over it? I need the sum to be in the same sheet and to be
formula, not just a value (because when I change some parameters in th
sheet, I need to be able to see the sum changing in the same time).
I also noticed, that creating sums from A1 to A10000, A10001 to A2000
and A20001 to A30000 and then summing those helps a bit, but it seem
to be quite a stupid workaround.

Thank You for Your time

--
Tadragh
-----------------------------------------------------------------------
Tadragh1's Profile: http://www.excelforum.com/member.php...fo&userid=2625
View this thread: http://www.excelforum.com/showthread.php?threadid=39548

 
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
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 1 June 11th 05 12:44 AM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 0 June 10th 05 03:38 PM
Macro crashing on different computer Grace[_3_] Excel Programming 8 July 8th 04 04:12 AM
Macro Crashing Excel ultra_xcyter[_3_] Excel Programming 0 June 28th 04 02:56 PM


All times are GMT +1. The time now is 07:32 AM.

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

About Us

"It's about Microsoft Excel"