Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Run-time error '1004'; Method 'Export' of object'_Chart' failed

When I run my macro in XL2003, I get the following Run-time error
message 'Run-time error '1004'; Method 'Export' of object'_Chart'
failed' everytime the macro runs the following line.

ActiveChart.Export Filename:=LCase(SaveName), _
FilterName:="GIF"

Anyone have any suggestions? What is the error really trying to tell
me?

Thanks,

Norm
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Run-time error '1004'; Method 'Export' of object'_Chart' failed

My first guess would be that SaveName wasn't valid.

Father Guido wrote:

When I run my macro in XL2003, I get the following Run-time error
message 'Run-time error '1004'; Method 'Export' of object'_Chart'
failed' everytime the macro runs the following line.

ActiveChart.Export Filename:=LCase(SaveName), _
FilterName:="GIF"

Anyone have any suggestions? What is the error really trying to tell
me?

Thanks,

Norm


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Run-time error '1004'; Method 'Export' of object'_Chart' failed

On Thu, 24 Nov 2005 10:20:51 -0600, Dave Peterson
wrote:

~My first guess would be that SaveName wasn't valid.

+-----------------------------------------------------------------+
| You know what? You're right, I finally got it working -- the |
| darned file name had a typo in it that I just couldn't see for |
| the forest. Much apologies to all, and thank you all for your |
| help over the last several days. |
| |
| Norm |
+-----------------------------------------------------------------+

~Father Guido wrote:
~
~ When I run my macro in XL2003, I get the following Run-time error
~ message 'Run-time error '1004'; Method 'Export' of object'_Chart'
~ failed' everytime the macro runs the following line.
~
~ ActiveChart.Export Filename:=LCase(SaveName), _
~ FilterName:="GIF"
~
~ Anyone have any suggestions? What is the error really trying to
tell
~ me?
~
~ Thanks,
~
~ Norm

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Run-time error '1004'; Method 'Export' of object'_Chart' failed

Gawd, I hate those!

Father Guido wrote:

On Thu, 24 Nov 2005 10:20:51 -0600, Dave Peterson
wrote:

~My first guess would be that SaveName wasn't valid.

+-----------------------------------------------------------------+
| You know what? You're right, I finally got it working -- the |
| darned file name had a typo in it that I just couldn't see for |
| the forest. Much apologies to all, and thank you all for your |
| help over the last several days. |
| |
| Norm |
+-----------------------------------------------------------------+

~Father Guido wrote:
~
~ When I run my macro in XL2003, I get the following Run-time error
~ message 'Run-time error '1004'; Method 'Export' of object'_Chart'
~ failed' everytime the macro runs the following line.
~
~ ActiveChart.Export Filename:=LCase(SaveName), _
~ FilterName:="GIF"
~
~ Anyone have any suggestions? What is the error really trying to
tell
~ me?
~
~ Thanks,
~
~ Norm


--

Dave Peterson
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
Run-Time error '1004' : Select method of Range class failed [email protected] Excel Discussion (Misc queries) 3 March 9th 07 01:36 PM
Select method of range class failed, Run time error 1004 smit127 Excel Programming 1 September 1st 05 12:43 PM
Run-Time Error 1004 Copy method of worksheet class failed Don Lloyd Excel Programming 0 July 27th 04 07:27 PM
Run Time error 1004 Paste Method of Worksheet Class Failed Ken Nunn Excel Programming 3 June 29th 04 03:23 PM


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