Solved

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

Posted on 2002-07-15
6
1,255 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
passing parameter in sql procedure 9 65
SLMGR Switches Are Not Working On KMS Host 3 114
MsgBox 4 68
Problem to With line 4 63
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

831 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