Solved

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

Posted on 2002-07-15
6
1,250 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

777 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