Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / May 2007

Tip: Looking for answers? Try searching our database.

Export chart to GIF no longer works after installing Excel 2007b2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ExcelFan - 18 Sep 2006 22:29 GMT
I've used the following Visual Basic code in Excel 2000 to export a chart to
GIF.  However, after installing Excel 2007b2 I now get errors (method of
export failed) when using the same old code in Excel 2000 and cannot export.  
Does anybody know if something has changed?
   
   ActiveSheet.ChartObjects(1).Activate
   ActiveChart.Export Filename:="C:\Documents and Settings\user\My
Documents\mychart.gif", filtername:="gif"
Tushar Mehta - 19 Sep 2006 04:08 GMT
> I've used the following Visual Basic code in Excel 2000 to export a chart to
> GIF.  However, after installing Excel 2007b2 I now get errors (method of
[quoted text clipped - 4 lines]
>     ActiveChart.Export Filename:="C:\Documents and Settings\user\My
> Documents\mychart.gif", filtername:="gif"

Maybe, installing 2007 Beta2 removed the filter needed to export as a GIF?

Signature

Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

ExcelFan - 19 Sep 2006 12:09 GMT
Tushar, thank you for your response.
If the GIF filter was somehow removed by the install of Excel 2007b2, do you
think reinstalling Excel 2000 would be a reasonable fix?

BTW - I believe you helped me with a charting issue many years ago and I'd
just like to thank you for taking the time to help me and the Excel community.

> > I've used the following Visual Basic code in Excel 2000 to export a chart to
> > GIF.  However, after installing Excel 2007b2 I now get errors (method of
[quoted text clipped - 6 lines]
> >
> Maybe, installing 2007 Beta2 removed the filter needed to export as a GIF?
Tushar Mehta - 19 Sep 2006 13:22 GMT
> Tushar, thank you for your response.
> If the GIF filter was somehow removed by the install of Excel 2007b2, do you
> think reinstalling Excel 2000 would be a reasonable fix?

I don't know if reinstalling XL2000 will cure that problem w/o introducing
other problems.  In my case, I tend to install beta products on a separate
machine altogether or at least in a separate instance of Virtual PC.

In general, when installing multiple versions of a product, I tend to
install oldest first.  But, all bets are off when it comes to a beta
version.

> BTW - I believe you helped me with a charting issue many years ago and I'd
> just like to thank you for taking the time to help me and the Excel community.

You are welcome.

Signature

Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

> Tushar, thank you for your response.
> If the GIF filter was somehow removed by the install of Excel 2007b2, do you
[quoted text clipped - 13 lines]
> > >
> > Maybe, installing 2007 Beta2 removed the filter needed to export as a GIF?
Jon Peltier - 19 Sep 2006 13:34 GMT
I noticed this problem on one of my computers. The filters in the Microsoft
Shared folder are all newer than Office 2003, dated in 2006. Except for the
TIFF filter, which is still dated 2000, and the export to TIFF still works.
I tried to reinstall Office 2003's filters, but apparently it checks the
file date stamp prior to overwriting, and the files didn't change. I didn't
yet try deleting the filters then reinstalling.

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

> Tushar, thank you for your response.
> If the GIF filter was somehow removed by the install of Excel 2007b2, do
[quoted text clipped - 19 lines]
>> Maybe, installing 2007 Beta2 removed the filter needed to export as a
>> GIF?
ExcelFan - 19 Sep 2006 16:48 GMT
Jon,
Thank you very much for your insight.  It sounds like you're onto something
and I would very much want to give a try at reverting back to the old GIF
filter.  However, I must confess, I don't know the location of the shared
folder, nor the name of the gif filter.  Can you help?

--
Regards,
Pete

> I noticed this problem on one of my computers. The filters in the Microsoft
> Shared folder are all newer than Office 2003, dated in 2006. Except for the
[quoted text clipped - 33 lines]
> >> Maybe, installing 2007 Beta2 removed the filter needed to export as a
> >> GIF?
ExcelFan - 19 Sep 2006 19:21 GMT
Jon,
I did some further digging and was able to find a solution.  I'll include my
solution just in case it might help someone in the community...

Microsoft shared files are located here... C:\Program Files\Common
Files\Microsoft Shared\Grphflt

I simply took an Excel 2000 version of the gif filter (GIFIMP32.FLT) from
another computer and copied it to the above-mentioned directory, thereby
replacing what was an Excel 2007 version of the gif filter.

Now exporting gif's in Excel 2000 is as it has always been, flawless.
I thank you for your help.  I couldn't have done it without you.

--
Regards,
Pete

> I noticed this problem on one of my computers. The filters in the Microsoft
> Shared folder are all newer than Office 2003, dated in 2006. Except for the
[quoted text clipped - 33 lines]
> >> Maybe, installing 2007 Beta2 removed the filter needed to export as a
> >> GIF?
Jon Peltier - 19 Sep 2006 22:04 GMT
Pete -

Thanks for following up and sharing your experiences. Have you noticed any
ill effects on 2007?

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

> Jon,
> I did some further digging and was able to find a solution.  I'll include
[quoted text clipped - 59 lines]
>> >> Maybe, installing 2007 Beta2 removed the filter needed to export as a
>> >> GIF?
XianGW - 24 Oct 2006 16:40 GMT
> Pete -
>
[quoted text clipped - 71 lines]
> >> >> Maybe, installing 2007 Beta2 removed the filter needed to export as a
> >> >> GIF?
XianGW - 24 Oct 2006 16:41 GMT
That has not removed the problem for me, any further thoughts?

> Pete -
>
[quoted text clipped - 71 lines]
> >> >> Maybe, installing 2007 Beta2 removed the filter needed to export as a
> >> >> GIF?
rufus - 01 May 2007 20:20 GMT
Anybody find a real solution to this problem?

> That has not removed the problem for me, any further thoughts?
>
[quoted text clipped - 73 lines]
> > >> >> Maybe, installing 2007 Beta2 removed the filter needed to export as a
> > >> >> GIF?
Jon Peltier - 01 May 2007 22:44 GMT
Which version(s) of Excel are installed, and in which order were they
installed (and uninstalled if you removed them)?

I had issues with some of the filters after uninstalling 2007 (which I'd
installed in parallel with 2003). I ended up copying some registry stuff and
some filters from a computer which had not been despoiled by 2007, and
transferred these to the computer with problems, and all is back to normal.

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

> Anybody find a real solution to this problem?
>
[quoted text clipped - 88 lines]
>> > >> >> as a
>> > >> >> GIF?
rufus - 03 May 2007 08:19 GMT
Office 2003 and OWC both 10 and 11. Worked just fine untill IE7 was installed.
Which filters registry stuff should I look for and where?

Rufus

> Which version(s) of Excel are installed, and in which order were they
> installed (and uninstalled if you removed them)?
[quoted text clipped - 103 lines]
> >> > >> >> as a
> >> > >> >> GIF?
Jon Peltier - 03 May 2007 14:49 GMT
First, check the filters in
C:\Program Files\Common Files\Microsoft Shared\GRPHFLT

I ultimately copied a filter from another computer into this directory, but
I'll warn you to copy the filters already there in case the swap didn't
help. Below are the registry changes I followed to re-enable TIFF exports
(for some reason exporting didn't work until I'd also included the import
keys). These matched settings in another computer which didn't exist in the
target PC. All the normal caveats apply about backing up the registry first
and being careful about which parts you hack at with a flint axe.

========
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Graphics Filters\Export
Modify string "Image API Enabled Filters", new value to include "TIFF" with
others in space-delimited list
Add key "TIFF"
Add string "Extensions", value "tif"
Add string "Name", value "Tag Image File Format"
Add string "Path", value {path using short file name to the filter}
   e.g., "C:\PROGRA~1\COMMON~1\MICROS~1\GRPHFLT\TIFFIM32.FLT"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Graphics Filters\Import
Modify string "Image API Enabled Filters", new value to include "TIFF" with
others in space-delimited list
Add key "TIFF"
Add string "Extensions", value "tif"
Add string "ExtensionsEx", value "tif tiff"
Add string "Name", value "Tag Image File Format"
Add string "Path", value {path using short file name to the filter}
   e.g., "C:\PROGRA~1\COMMON~1\MICROS~1\GRPHFLT\TIFFIM32.FLT"
========

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

> Office 2003 and OWC both 10 and 11. Worked just fine untill IE7 was
> installed.
[quoted text clipped - 125 lines]
>> >> > >> >> as a
>> >> > >> >> GIF?
rufus - 04 May 2007 12:04 GMT
Jon,

I did what you suggested but still no game.

Strange though :

when I use the command : graph.ExportPicture filename, "GIF"
the IE7 error message states: "The specified protocol is unknown"

when I use the command : graph.ExportPicture filename, "xxx"
the IE7 error message states: "unkown type graphic filter"

The first message is in english and I assume this is because I have the
english OS  installed. The second message is in dutch which I assume is due
to the fact that my office version is in dutch.

What can we conclude from this strange result?

thanks for your efforts and time BTW ;)

> First, check the filters in
> C:\Program Files\Common Files\Microsoft Shared\GRPHFLT
[quoted text clipped - 164 lines]
> >> >> > >> >> as a
> >> >> > >> >> GIF?
Jon Peltier - 04 May 2007 17:36 GMT
In my case, PNG and GIF were working but TIF was not. I followed the
protocol and was able to make TIF work, but I was unsuccessful following the
same for BMP.

Once localization issues come into play I am not competent to comment
further. I have a set of utilities that work great on English machines but
behave erratically in various foreign versions.

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

> Jon,
>
[quoted text clipped - 203 lines]
>> >> >> > >> >> as a
>> >> >> > >> >> GIF?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.