Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Crashing Macro, Not Enough Memory

Hello,

I'm writing a macro that processes and deletes data retrieved from
internet through a webquery in order to get uniformely formatted data.
The macro loops consistently 15 times correctly and then crashes on the
statement:

Worksheets(asset).Range("A:A").FormulaR1C1 = "=left(rc[9],3)"

At first I thought this was really a memory problem as the filesize
exploded by running the macro. The above statement creates sensible
data in the relevant lines, but in the lines below the relevant data
(about line 200 - 65536) it displays an error.

I attempted to get this solved by adding a statement to delete the
obsolete data. This works perfect in keeping the filesize checked. But
the macro keeps crashing at exactly the same location and in exactly
the same way.

Does anyone know what causes this problem and how to solve it?

Many Thanks
Wilco

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Crashing Macro, Not Enough Memory

Excellent. It took me a bit to figure out how it works (pretty much a
novice) but it solves the error and seems to be a lot faster than my
original solution too. Thanks a lot!

Wilco

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
Macro Error...OUT OF MEMORY G118 Excel Discussion (Misc queries) 1 October 15th 05 09:35 PM
Help with a crashing Macro needed Tadragh1 Excel Programming 6 August 13th 05 10:46 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
Not enough Memory running macro Rich96 Excel Programming 2 September 19th 03 11:58 PM


All times are GMT +1. The time now is 05:49 PM.

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"