#1   Report Post  
Manuel
 
Posts: n/a
Default Weird error messages

Hi all,

I'm trying to run a macro that copies some data from one
worksheet to 50 other worksheets using some specific
criterias. While the macro copies everything correctly for
around half of the data it stops after that and gives me
the following error messages:

"Excel cannot complete this task with available resources.
Choose less data or close other applications"

In the VBE it gives me:

"Run-time error 1004: Paste method of worksheet class has
failed".

Then when I close Excel after these messages:

"The picture is too large and will be truncated".

Has anyone experienced something like that before? I don't
have any other applications open and I don't think that
this simple procedure should cause any problems with
Excel. It's really strange.

Any help is greatly appreciated!!!!

Manuel
  #2   Report Post  
 
Posts: n/a
Default

hi,
since i don't know how much or what your are trying to
paste i can only be general.
I have found that when useing the copy and paste commands
in a macro, if you do this a lot in one macro, excel will
freeze up. the cut and paste commands are even worst. i
don't know what causes it (it's a clipboard thing i think)
but over the years i have just avoided the situation and
learned to use other ways.
post back with more info about what you are trying to
paste.

-----Original Message-----
Hi all,

I'm trying to run a macro that copies some data from one
worksheet to 50 other worksheets using some specific
criterias. While the macro copies everything correctly

for
around half of the data it stops after that and gives me
the following error messages:

"Excel cannot complete this task with available

resources.
Choose less data or close other applications"

In the VBE it gives me:

"Run-time error 1004: Paste method of worksheet class has
failed".

Then when I close Excel after these messages:

"The picture is too large and will be truncated".

Has anyone experienced something like that before? I

don't
have any other applications open and I don't think that
this simple procedure should cause any problems with
Excel. It's really strange.

Any help is greatly appreciated!!!!

Manuel
.

  #3   Report Post  
Jim Cone
 
Posts: n/a
Default

Manuel,
Maybe...

http://support.microsoft.com/?kbid=210684
XL2000: Copying Worksheet Programmatically Causes Run-Time Error 1004

Regards,
Jim Cone
San Francisco, USA


"Manuel" wrote in message
...
Hi all,
I'm trying to run a macro that copies some data from one
worksheet to 50 other worksheets using some specific
criterias. While the macro copies everything correctly for
around half of the data it stops after that and gives me
the following error messages:
"Excel cannot complete this task with available resources.
Choose less data or close other applications"
In the VBE it gives me:
"Run-time error 1004: Paste method of worksheet class has
failed".
Then when I close Excel after these messages:
"The picture is too large and will be truncated".
Has anyone experienced something like that before? I don't
have any other applications open and I don't think that
this simple procedure should cause any problems with
Excel. It's really strange.
Any help is greatly appreciated!!!!
Manuel

  #4   Report Post  
Manuel
 
Posts: n/a
Default

Hi there,

First of all thanks for your reply.

I basically want to copy a set of dates (about 150 days)
into 50 different worksheets. In each of the 50 worksheets
I want to paste it 400 times. Would that be too much data?

Thanks a lot,
Manuel
-----Original Message-----
hi,
since i don't know how much or what your are trying to
paste i can only be general.
I have found that when useing the copy and paste commands
in a macro, if you do this a lot in one macro, excel will
freeze up. the cut and paste commands are even worst. i
don't know what causes it (it's a clipboard thing i

think)
but over the years i have just avoided the situation and
learned to use other ways.
post back with more info about what you are trying to
paste.

-----Original Message-----
Hi all,

I'm trying to run a macro that copies some data from one
worksheet to 50 other worksheets using some specific
criterias. While the macro copies everything correctly

for
around half of the data it stops after that and gives me
the following error messages:

"Excel cannot complete this task with available

resources.
Choose less data or close other applications"

In the VBE it gives me:

"Run-time error 1004: Paste method of worksheet class

has
failed".

Then when I close Excel after these messages:

"The picture is too large and will be truncated".

Has anyone experienced something like that before? I

don't
have any other applications open and I don't think that
this simple procedure should cause any problems with
Excel. It's really strange.

Any help is greatly appreciated!!!!

Manuel
.

.

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
Array formula weird result Solerman Kaplon via OfficeKB.com Excel Discussion (Misc queries) 2 December 21st 04 08:39 PM
formulas are reading weird darcerella Excel Worksheet Functions 3 December 1st 04 08:46 AM
Weird Printing problems with spreadsheet fec Setting up and Configuration of Excel 1 November 29th 04 09:56 PM
Weird wrapping in cell Meagnon Excel Worksheet Functions 2 November 18th 04 02:33 AM


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