Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default out of memory error

I am building a formula for a cell on a worksheet by
building it up in a string and then setting the
ActiveCell.formula to that string. The string isn't
really all the large. It looks like this for 5 rows:

=('Segment Rates by CY'!$C$7*$Q$13)+('Segment Rates by CY'!
$C$7*$Q$14)+('Segment Rates by CY'!$C$12*$Q$15)+('Segment
Rates by CY'!$C$2*$Q$16)+('Segment Rates by CY'!$C$2*$Q$17)

When it is complete for 16 rows I get the following error:

Error 7 - Out of Memory.

Any ideas would be greatly appreciated.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default out of memory error

Hi,

If the formula is too long (i can't remember the exact
number of characters), it will return the Out of Memory
error.

Regards,
-----Original Message-----
I am building a formula for a cell on a worksheet by
building it up in a string and then setting the
ActiveCell.formula to that string. The string isn't
really all the large. It looks like this for 5 rows:

=('Segment Rates by CY'!$C$7*$Q$13)+('Segment Rates by

CY'!
$C$7*$Q$14)+('Segment Rates by CY'!$C$12*$Q$15)+

('Segment
Rates by CY'!$C$2*$Q$16)+('Segment Rates by CY'!

$C$2*$Q$17)

When it is complete for 16 rows I get the following

error:

Error 7 - Out of Memory.

Any ideas would be greatly appreciated.

Thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default out of memory error

Hi,

If a formula is too long( I can't remember the exact
number of characters), it will retrun the error.

Regards,
-----Original Message-----
I am building a formula for a cell on a worksheet by
building it up in a string and then setting the
ActiveCell.formula to that string. The string isn't
really all the large. It looks like this for 5 rows:

=('Segment Rates by CY'!$C$7*$Q$13)+('Segment Rates by

CY'!
$C$7*$Q$14)+('Segment Rates by CY'!$C$12*$Q$15)+

('Segment
Rates by CY'!$C$2*$Q$16)+('Segment Rates by CY'!

$C$2*$Q$17)

When it is complete for 16 rows I get the following

error:

Error 7 - Out of Memory.

Any ideas would be greatly appreciated.

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
Out of Memory error Jimmy D Excel Discussion (Misc queries) 0 November 25th 07 10:14 PM
Macro Error...OUT OF MEMORY G118 Excel Discussion (Misc queries) 1 October 15th 05 09:35 PM
Memory could not be read error Eddie Excel Discussion (Misc queries) 0 May 24th 05 01:15 PM
Not enough memory error - Can't open file jch Excel Discussion (Misc queries) 2 March 10th 05 09:29 PM
Opening *.CSV Error: Not enough memory Pierre Excel Discussion (Misc queries) 3 February 3rd 05 11:41 PM


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