Solved

which format do i use for saveas to get Excel8 format?

Posted on 2002-07-15
6
1,241 Views
Last Modified: 2010-08-05
which format do i use for saveas to get Excel8 format?
I'm trying other format when calling
Excel.Application, perform task and
workbook.saveas filename,fileformat
It's didn't work well if it's not Excel8 format, so what fileformat is Excel8?
0
Comment
Question by:AStronus
6 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 7154720
FileFormat=xlExcel9795 or 43 if you do not have the enum.
0
 

Author Comment

by:AStronus
ID: 7155633
still doesno't work corrently with Excel Drivers,most of them able to obtain the value, some return null but at that collumn it's does have value
0
 
LVL 6

Expert Comment

by:xSinbad
ID: 7683476
ActiveWorkbook.SaveAs Filename:= _
        "c:\Book1.xls", FileFormat:= _
        xlExcel9795, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
        False, CreateBackup:=False
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 49

Expert Comment

by:DanRollins
ID: 8012337
Hi AStronus,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept TimCottee's comment(s) as an answer.

AStronus, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 8095568
Comment from expert accepted as answer

Computer101
E-E Admin
0
 

Expert Comment

by:symman
ID: 24485581
See also: http://www.convert-files.com/SII/Convert-XLS/English/WebHelp/convert-xls.htm#command_line_manual/file_type_constants/rhid_excel_conversion_file_type_constants.htm

pXlWkBk.SaveAs(Filename:=sWkBookPath, FileFormat:=-4143)

-4143 is (*.XLS) Microsoft Excel 97-2003 Workbook format
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now