Solved

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

Posted on 2002-07-15
6
1,292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

728 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