Excel 95/5.0

jump25a

New Member
Joined
Mar 2, 2011
Messages
17
I want to know what the VB code is to save an excel file as 95/5.0 version. Is there a way to do by changing the FileFormat:=xlNormal line to something else.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
For some reason the format xlExcel8 works but xlExcel5 doesn't. I am usung excel version 2007 currently.
 
Upvote 0
When a run my program the follow error message appears:
Run-time error "1004"
Method Save As of Object_"Workbook" failed

When I click debug the folllowing text is highlight:
ActiveWorkbook.SaveAs Filename:= _
fileSaveName, _
FileFormat:=xlExcel5, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False

This code works:
ActiveWorkbook.SaveAs Filename:= _
fileSaveName, _
FileFormat:=xlExcel8, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False

The reason I need the window 5.0/95 format is I am importing a excel file into another program and it needs to be in that format
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top