Save 2003 as 2007

kclong

Board Regular
Joined
Nov 22, 2006
Messages
80
How do I write a macro that will save a 2003 version of a file (.xls) as a 2007 version (.xlsx)?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Perhaps like this

Code:
Sub test()
With ActiveWorkbook
    .SaveAs Filename:= .FullName & "x", FileFormat:=51
End With
End Sub
 
Upvote 0
I could be wrong but I don't think 2003 has that functionality. 2007 can read a 2003 file though.

Colin
 
Upvote 0
I have 2007 version of excel, and I know that it can read 2003 files. I want to actually open a 2003 file and re-save it as a 2007 version with a macro.

The code below simply makes it say .xlsx but it doesn't actually save it as a 2007 file.

Any other thoughts? Thanks.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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