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: 6,582
Default xlExcel9795 Not Supported in 2007? 2003?

Why are you still using the 9795 format? This format really stores two
versions of the file (Excel 95 and Excel 97-2003) within the 9795 file,
bloating the workbook for no good reason. Do you really need the Excel 95
format for anything?

And yes, the 9795 format is gone from 2007.

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


"Jamie Carper" wrote in message
...
Hi Folks,

I found the constant xlExcel9795 to be in the VBA library for Office 2007
but I get an error when I attempt to use it as a file format property
value
in Workbook.SaveAs().

e.g. Workbook.SaveAs FileFormat:=xlExcel9795 FileName:="MyFile.xls"

When I record a macro and manually save the workbook as an Excel 97-2003
format the macro reveals the use of the constant xlExcel8 instead.

Has xlExcel9795 been deprecated if not why am I getting an error?

I was trying to find something common enough between all legacy versions
of
Office to programmatically save Office 2007 workbooks to remain downward
compatible. I thought xlExcel9597 would be my ticket. However even when I
attempt to use it in Office 2003, I get an Office Exception.

I have had better success with using no file format for legacy Office
versions (using the default) and then using the constant xlExcel8 when
working in Office 2007.



 
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
Excel Viewer 2003 supported file types Sureshbabu Excel Discussion (Misc queries) 2 May 28th 09 09:49 AM
sdf file supported as data connection in Excel 2007? Molon Labe Excel Discussion (Misc queries) 0 April 2nd 08 11:06 AM
Publish Chart not supported in Office 2007? james Charts and Charting in Excel 0 February 14th 07 10:38 AM
xlExcel9795 Not Supported in 2007? 2003? Ron de Bruin Excel Programming 0 January 16th 07 11:00 PM
date type format which is supported by excel 2003 kanchan Charts and Charting in Excel 2 September 21st 05 11:56 PM


All times are GMT +1. The time now is 04:09 PM.

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"