Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exporting charts as GIF - error
Hi,
I have an Excel application which attempts to convert charts to gif images, using the code (ChartPath is equal to a valid directory location): ActiveChart.Export Filename:=ChartPath, FilterName:="GIF" This works perfectly on one PC, but fails when I try to run it on a different PC. Both PC's use Windows 2000, and both run Excel 2000. What I need to find out is what could possibly be causing this statement to fail. Is there something in the Excel or Windows settings that could be different (a dll file etc)? Hope that someone might be able to help, Regards, Rob Bath |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exporting charts as GIF - error
What's the text of the error message ?
Tim "Robbath" wrote in message ... Hi, I have an Excel application which attempts to convert charts to gif images, using the code (ChartPath is equal to a valid directory location): ActiveChart.Export Filename:=ChartPath, FilterName:="GIF" This works perfectly on one PC, but fails when I try to run it on a different PC. Both PC's use Windows 2000, and both run Excel 2000. What I need to find out is what could possibly be causing this statement to fail. Is there something in the Excel or Windows settings that could be different (a dll file etc)? Hope that someone might be able to help, Regards, Rob Bath |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exporting charts as GIF - error
.... and check for the required filters under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Graphics Filters\Export Tim "Robbath" wrote in message ... Hi, I have an Excel application which attempts to convert charts to gif images, using the code (ChartPath is equal to a valid directory location): ActiveChart.Export Filename:=ChartPath, FilterName:="GIF" This works perfectly on one PC, but fails when I try to run it on a different PC. Both PC's use Windows 2000, and both run Excel 2000. What I need to find out is what could possibly be causing this statement to fail. Is there something in the Excel or Windows settings that could be different (a dll file etc)? Hope that someone might be able to help, Regards, Rob Bath |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exporting charts as GIF - error
Tim,
thanks for replying, the error message I received was: Run-time error '1004': Method 'Export' of object ' _Chart' failed Regards, Rob "Tim Williams" wrote: What's the text of the error message ? Tim "Robbath" wrote in message ... Hi, I have an Excel application which attempts to convert charts to gif images, using the code (ChartPath is equal to a valid directory location): ActiveChart.Export Filename:=ChartPath, FilterName:="GIF" This works perfectly on one PC, but fails when I try to run it on a different PC. Both PC's use Windows 2000, and both run Excel 2000. What I need to find out is what could possibly be causing this statement to fail. Is there something in the Excel or Windows settings that could be different (a dll file etc)? Hope that someone might be able to help, Regards, Rob Bath |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
exporting charts | Charts and Charting in Excel | |||
e-mailing or exporting charts as a .pdf or .tif format | Charts and Charting in Excel | |||
Exporting charts as GIF - error | Excel Programming | |||
Another question about exporting charts | Excel Programming | |||
Exporting Charts as GIFs | Excel Programming |