Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don -
xlNormal is Excel 8 format in Excel 2003 and Excel 12 format in Excel 2007. The user asked for Excel 8 format in when running both versions. Alain - I've used a function that gives me the constant value I need: Function xl8FileFormat() as long If Val(Application.Version) = 12 Then xlFileFormat = 56 ' value of xlExcel8 constant Else xlFileFormat = xlNormal End If End Function Do the same kind of thing for PDF. - Jon ------- Jon Peltier Peltier Technical Services, Inc. http://peltiertech.com/ Don Guillett wrote: I think?? you can modify this to save as an xls file in either version. xlNormal ActiveWorkbook.SaveAs Filename:="C:\yourfolder\yourfilename.xls", FileFormat:= _ xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False _ , CreateBackup:=False |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
when I open excel file,changes was undid-excel 2007, compatibility | Excel Discussion (Misc queries) | |||
Multiple Excel addin versions having LaodBehaviour issue at Addin | Excel Programming | |||
Excel 2000 with Compatibility Pack can't Save As Excel 2007 docume | Excel Discussion (Misc queries) | |||
setup project for Excel addin, won't register addin | Excel Programming | |||
Remove Excel AddIn from AddIn List !! Help | Excel Programming |