LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ASP & EXCEL2003 - RUN-TIME ERROR 1004 in Export method


Hello,
I'm trying to export an excel chart from vbscript


If I run the code using a non-administator user it doesn't work


If I put the same user in the administrators group it works.


Any solution to make it working in the first case too?


The folder I'm trying to export to has all the rigths: I give
fullcontrol to everyone..
please help!!!


E.G.
This one work fine only with administrator's user:
Ex.ActiveWorkbook.ActiveChart.Export "C:\FolderEveryOne\Image.gif"


This one work fine always:
Ex.ActiveWorkbook.save "C:\FolderEveryOne\file.xls"


--
Mau
------------------------------------------------------------------------
Mau's Profile: http://www.excelforum.com/member.php...o&userid=27069
View this thread: http://www.excelforum.com/showthread...hreadid=466726

 
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
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
Run Time error '1004' when running Calculation method Simon P[_2_] Excel Programming 1 January 5th 04 12:32 PM


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