Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy method of chart class failed

Hi guys,

I've got a big block of data, and I'm writing a macro to create
series of graphs from it.

Currently, I have an intermediate sheet where I have the chart titles
series names, and data ranges (referring to the first sheet) that th
macro uses to dress up each new chart.

Finally, I have a template chart that people can use to settl
stylistic issues. Then, my macro copies each new graph from thi
template and inserts the proper titles etc from the intermediat
sheet.

The problem is that I run the macro and everything is going great unti
I reach 57 sheets (53 graphs). Then I get a "Copy method of Char
class failed" error. Even if I stop the debugger, I can't copy m
template chart one more time. I can add new charts, but can't copy m
template chart.

Thoughts?
Nic

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Copy method of chart class failed

Nick -

It might be a better approach to turn your chart template into a user
defined chart type. I've occasionally had problems when I've copied a
chart too much.

http://peltiertech.com/Excel/ChartsH...stomTypes.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

St. Nick < wrote:

Hi guys,

I've got a big block of data, and I'm writing a macro to create a
series of graphs from it.

Currently, I have an intermediate sheet where I have the chart titles,
series names, and data ranges (referring to the first sheet) that the
macro uses to dress up each new chart.

Finally, I have a template chart that people can use to settle
stylistic issues. Then, my macro copies each new graph from this
template and inserts the proper titles etc from the intermediate
sheet.

The problem is that I run the macro and everything is going great until
I reach 57 sheets (53 graphs). Then I get a "Copy method of Chart
class failed" error. Even if I stop the debugger, I can't copy my
template chart one more time. I can add new charts, but can't copy my
template chart.

Thoughts?
Nick


---
Message posted from http://www.ExcelForum.com/


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
Copy Method of Worksheet Class Failed Steph[_3_] Excel Programming 0 April 5th 04 11:12 PM
Copy Method of Worksheet Class Failed Steph[_3_] Excel Programming 1 April 5th 04 10:15 PM
Copy Method of Worksheet Class Failed Steph[_3_] Excel Programming 1 April 5th 04 09:56 PM
RE :Copy method of Worksheet class failed? Steph[_3_] Excel Programming 0 April 2nd 04 11:04 PM
Copy Method of Workseet Class Failed Tom Kosensky Excel Programming 1 July 15th 03 09:54 AM


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